Author: mbrohl
Date: Sat Dec 17 16:18:58 2016
New Revision: 1774788
URL:
http://svn.apache.org/viewvc?rev=1774788&view=revLog:
Improved: Proper form validation should be there while creating Agreement Item Party.
(OFBIZ-7458)
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=1774788&r1=1774787&r2=1774788&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/widget/AgreementForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/AgreementForms.xml Sat Dec 17 16:18:58 2016
@@ -613,7 +613,7 @@ under the License.
<auto-fields-entity entity-name="AgreementPartyApplic" default-field-type="edit"/>
<field name="agreementId"><hidden/></field>
<field name="agreementItemSeqId"><hidden/></field>
- <field name="partyId" use-when="agreementPartyApplic==null">
+ <field name="partyId" use-when="agreementPartyApplic==null" required-field="true">
<lookup target-form-name="LookupPartyName"/>
</field>
<field name="partyId" use-when="agreementPartyApplic!=null"><display/></field>