Author: arunpatidar Date: Sat Jul 22 09:29:10 2017 New Revision: 1802664 URL: http://svn.apache.org/viewvc?rev=1802664&view=rev Log: Create new Return page required fields validations are not working correctly. (OFBIZ-8457) Thanks Aditya and Devanshu for your contribution.
Modified: ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/ReturnForms.xml Modified: ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/ReturnForms.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/ReturnForms.xml?rev=1802664&r1=1802663&r2=1802664&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/ReturnForms.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/order/widget/ordermgr/ReturnForms.xml Sat Jul 22 09:29:10 2017 @@ -73,7 +73,7 @@ under the License. </drop-down> </field> <field name="fromPartyId"><lookup target-form-name="LookupPartyName"/></field> - <field name="toPartyId"><lookup target-form-name="LookupPartyName"/></field> + <field name="toPartyId" required-field="true"><lookup target-form-name="LookupPartyName"/></field> <field name="originContactMechId" use-when="returnHeader!=null"> <display-entity entity-name="PostalAddress" key-field-name="contactMechId" description="${toName} ${attnName} ${address1} ${address2} ${city} ${stateProvinceGeoId} ${postalCode} ${countryGeoId}"/> </field>