Author: ashish
Date: Thu Jun 23 06:19:53 2016
New Revision: 1749838
URL:
http://svn.apache.org/viewvc?rev=1749838&view=revLog:
Applied patch from trunk r1749836.
===================================================
Applied patch from jira issue - OFBIZ-7530 - Hide Rule Id field when creating Product Manufacturing Rule.
Thanks Ravi for the contribution.
Modified:
ofbiz/branches/release14.12/applications/manufacturing/widget/manufacturing/BomForms.xml
Modified: ofbiz/branches/release14.12/applications/manufacturing/widget/manufacturing/BomForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/manufacturing/widget/manufacturing/BomForms.xml?rev=1749838&r1=1749837&r2=1749838&view=diff==============================================================================
--- ofbiz/branches/release14.12/applications/manufacturing/widget/manufacturing/BomForms.xml (original)
+++ ofbiz/branches/release14.12/applications/manufacturing/widget/manufacturing/BomForms.xml Thu Jun 23 06:19:53 2016
@@ -101,7 +101,8 @@ under the License.
header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="ruleId==null" target="AddProductManufacturingRule"/>
<auto-fields-service service-name="updateProductManufacturingRule" map-name="manufacturingRule"/>
- <field name="ruleId"><display/></field>
+ <field name="ruleId" use-when="ruleId!=null"><display/></field>
+ <field name="ruleId" use-when="ruleId==null"><ignored/></field>
<field name="productId">
<lookup target-form-name="LookupProduct"/>
</field>