Author: mbrohl Date: Sat Dec 17 16:15:10 2016 New Revision: 1774786 URL: http://svn.apache.org/viewvc?rev=1774786&view=rev Log: Improved: Proper form validation should be there while creating Agreement Item Facility. (OFBIZ-7461)
Thanks: Ankit Joshi for reporting and providing the patch. Modified: ofbiz/trunk/applications/accounting/widget/AgreementForms.xml Modified: ofbiz/trunk/applications/accounting/widget/AgreementForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/AgreementForms.xml?rev=1774786&r1=1774785&r2=1774786&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/widget/AgreementForms.xml (original) +++ ofbiz/trunk/applications/accounting/widget/AgreementForms.xml Sat Dec 17 16:15:10 2016 @@ -477,7 +477,7 @@ under the License. <auto-fields-entity entity-name="AgreementFacilityAppl" default-field-type="edit"/> <field name="agreementId"><hidden/></field> <field name="agreementItemSeqId"><hidden/></field> - <field name="facilityId" use-when="agreementFacilityAppl==null"> + <field name="facilityId" use-when="agreementFacilityAppl==null" required-field="true"> <lookup target-form-name="LookupFacility"/> </field> <field name="facilityId" use-when="agreementFacilityAppl!=null"><display/></field>