Author: jleroux
Date: Sat Sep 22 05:34:28 2007
New Revision: 578417

URL: http://svn.apache.org/viewvc?rev=578417&view=rev
Log:
Applied fix from trunk for revision: 575898

Modified:
    
ofbiz/branches/release4.0/applications/accounting/widget/BillingAccountForms.xml
    
ofbiz/branches/release4.0/applications/accounting/widget/BillingAccountScreens.xml

Modified: 
ofbiz/branches/release4.0/applications/accounting/widget/BillingAccountForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/accounting/widget/BillingAccountForms.xml?rev=578417&r1=578416&r2=578417&view=diff
==============================================================================
--- 
ofbiz/branches/release4.0/applications/accounting/widget/BillingAccountForms.xml
 (original)
+++ 
ofbiz/branches/release4.0/applications/accounting/widget/BillingAccountForms.xml
 Sat Sep 22 05:34:28 2007
@@ -28,7 +28,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 entity-name="Uom" 
description="[${abbreviation}] ${description}" key-field-name="uomId">

Modified: 
ofbiz/branches/release4.0/applications/accounting/widget/BillingAccountScreens.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/accounting/widget/BillingAccountScreens.xml?rev=578417&r1=578416&r2=578417&view=diff
==============================================================================
--- 
ofbiz/branches/release4.0/applications/accounting/widget/BillingAccountScreens.xml
 (original)
+++ 
ofbiz/branches/release4.0/applications/accounting/widget/BillingAccountScreens.xml
 Sat Sep 22 05:34:28 2007
@@ -78,7 +78,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">


Reply via email to