Author: lektran
Date: Wed Jun 13 02:57:22 2007
New Revision: 546797
URL:
http://svn.apache.org/viewvc?view=rev&rev=546797Log:
Fixed a bug that was making a mess of stock moves.
The way things were, 45.0 was greater than 400.0
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml
Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml?view=diff&rev=546797&r1=546796&r2=546797==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml Wed Jun 13 02:57:22 2007
@@ -507,7 +507,7 @@
</if-compare-field>
<!-- now make sure that the currentQuantityToMove we decided on is not greater than remainingQuantityOnHand... -->
- <if-compare-field field-name="currentQuantityToMove" operator="greater" to-field-name="remainingQuantityOnHand">
+ <if-compare-field field-name="currentQuantityToMove" operator="greater" to-field-name="remainingQuantityOnHand" type="Double">
<set from-field="remainingQuantityOnHand" field="currentQuantityToMove"/>
</if-compare-field>