svn commit: r727104 - /ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r727104 - /ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml

jleroux@apache.org
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>