Improved: Proper form validation should be there while creating Agreement Item Party.
(OFBIZ-7458)

Thanks: Ankit Joshi for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1774788 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/applications/accounting/widget/AgreementForms.xml b/applications/accounting/widget/AgreementForms.xml
index bffec7b..99eba89 100644
--- a/applications/accounting/widget/AgreementForms.xml
+++ b/applications/accounting/widget/AgreementForms.xml
@@ -613,7 +613,7 @@
         <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>