Author: deepak
Date: Sat May 16 06:11:13 2015
New Revision: 1679689
URL:
http://svn.apache.org/r1679689Log:
Applied patch from jira issue OFBIZ-6351 -
ordermgr/control/ListQuoteItems quoteItemSeqId button not showing due to ${bsh}
Also fixed similar bsh issue for ListQuoteAdjustments form as well.
Thanks Christian Carlow for reporting the issue and providing the patch.
Modified:
ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml
Modified: ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml?rev=1679689&r1=1679688&r2=1679689&view=diff==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml (original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml Sat May 16 06:11:13 2015
@@ -189,7 +189,7 @@ under the License.
<auto-fields-entity entity-name="QuoteItem" default-field-type="display"/>
<field name="quoteId"><hidden/></field>
<field name="quoteItemSeqId"><hidden/></field>
- <field name="quoteItemSeqId" title="${uiLabelMap.OrderOrderQuoteItemSeqId}" widget-style="buttontext" use-when="${bsh:isPromo==null}">
+ <field name="quoteItemSeqId" title="${uiLabelMap.OrderOrderQuoteItemSeqId}" widget-style="buttontext" use-when="${groovy:isPromo==null}">
<hyperlink also-hidden="false" description="${quoteItemSeqId}" target="EditQuoteItem">
<parameter param-name="quoteId"/>
<parameter param-name="quoteItemSeqId"/>
@@ -377,13 +377,13 @@ under the License.
<field name="productFeatureId"><hidden/></field>
<field name="createdDate"><hidden/></field>
<field name="createdByUserLogin"><hidden/></field>
- <field name="quoteAdjustmentId" title="${uiLabelMap.OrderOrderQuoteAdjustmentId}" widget-style="buttontext" use-when="${bsh:productPromoId==null}">
+ <field name="quoteAdjustmentId" title="${uiLabelMap.OrderOrderQuoteAdjustmentId}" widget-style="buttontext" use-when="${groovy:productPromoId==null}">
<hyperlink also-hidden="false" description="${quoteAdjustmentId}" target="EditQuoteAdjustment">
<parameter param-name="quoteId"/>
<parameter param-name="quoteAdjustmentId"/>
</hyperlink>
</field>
- <field name="quoteAdjustmentId" title="${uiLabelMap.OrderOrderQuoteAdjustmentId}" use-when="${bsh:productPromoId!=null}"><display/></field>
+ <field name="quoteAdjustmentId" title="${uiLabelMap.OrderOrderQuoteAdjustmentId}" use-when="${groovy:productPromoId!=null}"><display/></field>
<field name="quoteAdjustmentTypeId" title="${uiLabelMap.OrderOrderQuoteAdjustmentType}">
<display-entity entity-name="OrderAdjustmentType" key-field-name="orderAdjustmentTypeId"/>
</field>