Author: bibryam
Date: Thu Feb 25 09:44:07 2010
New Revision: 916206
URL: http://svn.apache.org/viewvc?rev=916206&view=rev
Log:
Hide agreementItemSeqId field while creating agreement items. Reported by Babu
Sreekanth in https://issues.apache.org/jira/browse/OFBIZ-3484
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=916206&r1=916205&r2=916206&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/AgreementForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/AgreementForms.xml Thu Feb 25
09:44:07 2010
@@ -159,7 +159,8 @@
<alt-target use-when="agreementItem==null"
target="createAgreementItem"/>
<auto-fields-entity entity-name="AgreementItem"
default-field-type="edit"/>
<field name="agreementId"
title="${uiLabelMap.AccountingAgreementId}"><hidden/></field>
- <field name="agreementItemSeqId"
title="${uiLabelMap.AccountingAgreementItemSeqId}"><display/></field>
+ <field name="agreementItemSeqId" use-when="agreementItem!=null"
title="${uiLabelMap.AccountingAgreementItemSeqId}"><display/></field>
+ <field name="agreementItemSeqId" use-when="agreementItem==null"
><ignored/></field>
<field name="agreementItemTypeId"
title="${uiLabelMap.AccountingAgreementItemTypeId}">
<drop-down allow-empty="true">
<entity-options description="${description}"
entity-name="AgreementItemType" key-field-name="agreementItemTypeId"/>