Author: pranayp
Date: Wed Jun 15 11:23:32 2016
New Revision: 1748559
URL:
http://svn.apache.org/viewvc?rev=1748559&view=revLog:
[OFBIZ-7349] Fixed error on adding new term to an agreement after updating any existing term or adding new one. The reason of the error was hidden parameter for agreementTermId which already found set from parameters.
Thanks Amardeep Singh Jhajj for the contribution.
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=1748559&r1=1748558&r2=1748559&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/widget/AgreementForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/AgreementForms.xml Wed Jun 15 11:23:32 2016
@@ -256,7 +256,7 @@ under the License.
<form name="AddAgreementTerm" type="single" target="createAgreementTerm" title="" default-map-name="agreementTerm"
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-entity entity-name="AgreementTerm" default-field-type="edit"/>
- <field name="agreementTermId" title="${uiLabelMap.AccountingAgreementTermId}"><hidden/></field>
+ <field name="agreementTermId" title="${uiLabelMap.AccountingAgreementTermId}"><ignored/></field>
<field name="termTypeId" title="${uiLabelMap.AccountingTermTypeId}">
<drop-down allow-empty="false">
<entity-options entity-name="TermType">