svn commit: r800780 - /ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r800780 - /ofbiz/trunk/applications/accounting/widget/FinAccountForms.xml

apatel-2
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"/>