Author: deepak
Date: Fri Jun 3 06:51:48 2016
New Revision: 1746676
URL: http://svn.apache.org/viewvc?rev=1746676&view=rev
Log:
(OFBIZ-7151) Disaplay all the one time configurable fields on edit product
screen in display mode.
Modified:
ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml
Modified: ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml?rev=1746676&r1=1746675&r2=1746676&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/ProductForms.xml Fri Jun 3
06:51:48 2016
@@ -242,17 +242,27 @@ under the License.
<field position="1" name="returnable"
title="${uiLabelMap.ProductReturnable}" use-when="product==null">
<drop-down allow-empty="true"><option key="Y"
description="${uiLabelMap.CommonY}"/><option key="N"
description="${uiLabelMap.CommonN}"/></drop-down>
</field>
+ <field position="1" name="returnable"
title="${uiLabelMap.ProductReturnable}" use-when="product!=null">
+ <display/>
+ </field>
<field position="2" name="includeInPromotions"
title="${uiLabelMap.ProductIncludePromotions}" use-when="product==null">
<drop-down allow-empty="true"><option key="Y"
description="${uiLabelMap.CommonY}"/><option key="N"
description="${uiLabelMap.CommonN}"/></drop-down>
</field>
-
+ <field position="2" name="includeInPromotions"
title="${uiLabelMap.ProductIncludePromotions}" use-when="product!=null">
+ <display/>
+ </field>
<field position="3" name="taxable"
title="${uiLabelMap.ProductTaxable}" use-when="product==null">
<drop-down allow-empty="true"><option key="Y"
description="${uiLabelMap.CommonY}"/><option key="N"
description="${uiLabelMap.CommonN}"/></drop-down>
</field>
+ <field position="3" name="taxable"
title="${uiLabelMap.ProductTaxable}" use-when="product!=null">
+ <display/>
+ </field>
<field position="4" name="autoCreateKeywords"
title="${uiLabelMap.ProductAutoCreateKeywords}" use-when="product==null">
<drop-down allow-empty="true"><option key="Y"
description="${uiLabelMap.CommonY}"/><option key="N"
description="${uiLabelMap.CommonN}"/></drop-down>
</field>
-
+ <field position="4" name="autoCreateKeywords"
title="${uiLabelMap.ProductAutoCreateKeywords}" use-when="product!=null">
+ <display/>
+ </field>
<field name="contentInfoText"
title="${uiLabelMap.ProductContentInfoText}" widget-style="tooltip">
<display description="${uiLabelMap.ProductNoteForContentOptions}"
also-hidden="false"/>
</field>
@@ -278,6 +288,9 @@ under the License.
<field name="orderDecimalQuantity" use-when="product==null">
<drop-down allow-empty="true" ><option key="Y"
description="${uiLabelMap.CommonY}"/><option key="N"
description="${uiLabelMap.CommonN}"/></drop-down>
</field>
+ <field name="orderDecimalQuantity" use-when="product!=null">
+ <display/>
+ </field>
<sort-order>
<field-group>
<sort-field name="productId"/>