You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2016/06/23 06:17:56 UTC

svn commit: r1749836 - /ofbiz/trunk/applications/manufacturing/widget/manufacturing/BomForms.xml

Author: ashish
Date: Thu Jun 23 06:17:56 2016
New Revision: 1749836

URL: http://svn.apache.org/viewvc?rev=1749836&view=rev
Log:
Applied patch from jira issue - OFBIZ-7530 - Hide Rule Id field when creating Product Manufacturing Rule.
Thanks Ravi for the contribution.     

Modified:
    ofbiz/trunk/applications/manufacturing/widget/manufacturing/BomForms.xml

Modified: ofbiz/trunk/applications/manufacturing/widget/manufacturing/BomForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/widget/manufacturing/BomForms.xml?rev=1749836&r1=1749835&r2=1749836&view=diff
==============================================================================
--- ofbiz/trunk/applications/manufacturing/widget/manufacturing/BomForms.xml (original)
+++ ofbiz/trunk/applications/manufacturing/widget/manufacturing/BomForms.xml Thu Jun 23 06:17:56 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>