You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ap...@apache.org on 2009/08/04 15:42:20 UTC
svn commit: r800780 -
/ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml
Author: apatel
Date: Tue Aug 4 13:42:20 2009
New Revision: 800780
URL: http://svn.apache.org/viewvc?rev=800780&view=rev
Log:
If reconciliation is created from finaccount screen then its for finaccount, so default glAccountId from finaccount entity.
Modified:
ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml
Modified: ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml?rev=800780&r1=800779&r2=800780&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml Tue Aug 4 13:42:20 2009
@@ -352,10 +352,10 @@
<entity-one entity-name="GlReconciliation" value-field="glReconciliation"/>
</actions>
<alt-target use-when="glReconciliationId != null" target="updateFinAccountGlReconciliation"/>
- <field name="finAccountId"><hidden/></field>
+ <field name="finAccountId"><hidden value="${finAccountId}"/></field>
<field name="glReconciliationId" use-when="glReconciliationId == null"><ignored/></field>
<field name="glReconciliationId" use-when="glReconciliationId != null"><display/></field>
- <field name="glAccountId"><lookup target-form-name="LookupGlAccount"/></field>
+ <field name="glAccountId"><hidden value="${finAccount.postToGlAccountId}"/></field>
<field name="organizationPartyId"><lookup target-form-name="LookupPartyName"/></field>
<field name="createButton" use-when="glReconciliationId == null" widget-style="smallSubmit">
<submit button-type="button"/>