Author: mbrohl
Date: Sat Dec 17 16:09:55 2016
New Revision: 1774785
URL:
http://svn.apache.org/viewvc?rev=1774785&view=revLog:
Improved: Proper form validation should be there while creating Agreement Roles.
(OFBIZ-7511)
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=1774785&r1=1774784&r2=1774785&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/widget/AgreementForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/AgreementForms.xml Sat Dec 17 16:09:55 2016
@@ -713,8 +713,8 @@ under the License.
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-entity entity-name="AgreementRole" default-field-type="edit"/>
<field name="agreementId"><hidden/></field>
- <field name="partyId" title="${uiLabelMap.PartyPartyId}"><lookup target-form-name="LookupPartyName"/></field>
- <field name="roleTypeId" title="${uiLabelMap.PartyRoleTypeId}">
+ <field name="partyId" title="${uiLabelMap.PartyPartyId}" required-field="true"><lookup target-form-name="LookupPartyName"/></field>
+ <field name="roleTypeId" title="${uiLabelMap.PartyRoleTypeId}" required-field="true">
<drop-down allow-empty="true">
<entity-options entity-name="RoleType" key-field-name="roleTypeId"/>
</drop-down>