Author: surajk
Date: Sat Nov 24 12:42:23 2018
New Revision: 1847360
URL:
http://svn.apache.org/viewvc?rev=1847360&view=revLog:
Fixed: Update Contact Mech ID with Billing Account not working.
(OFBIZ-10315)
Thanks Shikha Jaiswal for providing the patch.
Modified:
ofbiz/ofbiz-framework/trunk/applications/accounting/widget/BillingAccountForms.xml
Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/widget/BillingAccountForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/widget/BillingAccountForms.xml?rev=1847360&r1=1847359&r2=1847360&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/widget/BillingAccountForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/widget/BillingAccountForms.xml Sat Nov 24 12:42:23 2018
@@ -137,7 +137,7 @@ under the License.
</drop-down>
</field>
<field name="contactMechId" tooltip="${uiLabelMap.AccountingBillingContactMechIdMessage}" use-when="billingAccount != null">
- <drop-down>
+ <drop-down no-current-selected-key="${billingAccount.contactMechId}">
<entity-options entity-name="BillingAccountRoleAndAddress" key-field-name="contactMechId" description="[${partyId}][${contactMechId}] ${toName}, ${attnName}, ${address1}, ${stateProvinceGeoId} ${postalCode}" filter-by-date="true">
<entity-constraint name="billingAccountId" env-name="billingAccountId"/>
<entity-order-by field-name="partyId"/>