Author: jleroux
Date: Tue Feb 24 13:47:31 2015
New Revision: 1661951
URL:
http://svn.apache.org/r1661951Log:
Puts back the change for OFBIZ-6101
The issue is actually related with OrderQuoteDemoData.xml. Though I checked that 1st I somehow missed something
Modified:
ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java?rev=1661951&r1=1661950&r2=1661951&view=diff==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/order/OrderServices.java Tue Feb 24 13:47:31 2015
@@ -3743,7 +3743,7 @@ public class OrderServices {
return ServiceUtil.returnError(e.getMessage());
}
- if (groupQty.compareTo(BigDecimal.ONE) < 0) {
+ if (groupQty.compareTo(BigDecimal.ZERO) < 0) {
return ServiceUtil.returnError(UtilProperties.getMessage(resource,
"OrderItemQtyMustBePositive", locale));
}