Author: ashish
Date: Thu Jun 23 06:19:08 2016
New Revision: 1749837
URL:
http://svn.apache.org/viewvc?rev=1749837&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/release15.12/applications/manufacturing/widget/manufacturing/BomForms.xml
Modified: ofbiz/branches/release15.12/applications/manufacturing/widget/manufacturing/BomForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/manufacturing/widget/manufacturing/BomForms.xml?rev=1749837&r1=1749836&r2=1749837&view=diff==============================================================================
--- ofbiz/branches/release15.12/applications/manufacturing/widget/manufacturing/BomForms.xml (original)
+++ ofbiz/branches/release15.12/applications/manufacturing/widget/manufacturing/BomForms.xml Thu Jun 23 06:19:08 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>