Author: jleroux
Date: Tue Dec 16 10:23:21 2008
New Revision: 727104
URL:
http://svn.apache.org/viewvc?rev=727104&view=revLog:
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>