You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/12/16 19:23:21 UTC
svn commit: r727104 -
/ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml
Author: jleroux
Date: Tue Dec 16 10:23:21 2008
New Revision: 727104
URL: http://svn.apache.org/viewvc?rev=727104&view=rev
Log:
Fix an issue when creating an order from eCommerce. I guess it's related to recent UEL change
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml
Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml?rev=727104&r1=727103&r2=727104&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml Tue Dec 16 10:23:21 2008
@@ -436,7 +436,7 @@
<set from-field="parameters.quantity" field="productCalculatedInfo.totalQuantityOrdered"/>
<create-value value-name="productCalculatedInfo"/>
<else>
- <set field="productCalculatedInfo.totalQuantityOrdered" value="${productCalculatedInfo.totalQuantityOrdered + parameters.quantity}"/>
+ <set field="productCalculatedInfo.totalQuantityOrdered" value="${productCalculatedInfo.totalQuantityOrdered + parameters.quantity}" type="Double"/>
<store-value value-name="productCalculatedInfo"/>
</else>
</if-empty>