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 2007/09/15 11:46:34 UTC

svn commit: r575898 - in /ofbiz/trunk/applications/accounting/widget: BillingAccountForms.xml BillingAccountScreens.xml

Author: apatel
Date: Sat Sep 15 02:46:34 2007
New Revision: 575898

URL: http://svn.apache.org/viewvc?rev=575898&view=rev
Log:
Patch from Ashish, Now Party gets added to BillingAccountRole when new BillingAccount screen is access with partyId in context.

Modified:
    ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml
    ofbiz/trunk/applications/accounting/widget/BillingAccountScreens.xml

Modified: ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml?rev=575898&r1=575897&r2=575898&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/BillingAccountForms.xml Sat Sep 15 02:46:34 2007
@@ -94,7 +94,10 @@
         <field name="description"><text size="60"/></field> 
         
         <field use-when="billingAccount!=null" name="billingAccountId" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
-                
+
+        <field use-when="partyId != null" name="partyId"><hidden/></field>
+        <field use-when="roleTypeId != null" name="roleTypeId"><hidden/></field>
+        
         <field name="accountCurrencyUomId">
             <drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}">
                 <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom">

Modified: ofbiz/trunk/applications/accounting/widget/BillingAccountScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/BillingAccountScreens.xml?rev=575898&r1=575897&r2=575898&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/BillingAccountScreens.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/BillingAccountScreens.xml Sat Sep 15 02:46:34 2007
@@ -103,7 +103,9 @@
                 <property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD" />                
                 <set field="billingAccountId" from-field="parameters.billingAccountId"/>
                 <entity-one entity-name="BillingAccount" value-name="billingAccount"/>
-            </actions>
+                <set field="partyId" from-field="parameters.partyId"/>
+                <set field="roleTypeId" from-field="parameters.roleTypeId"/>
+            </actions> 
             <widgets>
                 <decorator-screen name="CommonBillingAccountDecorator">
                     <decorator-section name="body">