Author: hansbak
Date: Wed May 29 07:21:07 2013
New Revision: 1487357

URL: http://svn.apache.org/r1487357
Log:
make payment method field optional on the edit payment screen to show the 
paymentmethod is empty. when mandatory the field will always show filled even 
if empty

Modified:
    ofbiz/trunk/applications/accounting/widget/PaymentForms.xml

Modified: ofbiz/trunk/applications/accounting/widget/PaymentForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/PaymentForms.xml?rev=1487357&r1=1487356&r2=1487357&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/PaymentForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/PaymentForms.xml Wed May 29 
07:21:07 2013
@@ -246,7 +246,7 @@ under the License.
             </drop-down>
         </field>
         <field name="paymentMethodId" 
title="${uiLabelMap.AccountingPaymentMethodId}" position="1">
-            <drop-down allow-empty="false">
+            <drop-down allow-empty="true">
                 <entity-options  key-field-name="paymentMethodId" 
entity-name="PaymentMethod" description="${paymentMethodTypeId} 
(${paymentMethodId})">
                     <entity-constraint name="partyId" operator="equals" 
value="${groovy:isDisbursement==true?payment.partyIdFrom:payment.partyIdTo}"/>
                     <entity-order-by field-name="paymentMethodTypeId"/>


Reply via email to