Author: jacopoc
Date: Thu Feb  4 17:10:21 2010
New Revision: 906568

URL: http://svn.apache.org/viewvc?rev=906568&view=rev
Log:
New purchase order items are initially assigned to the first ship group without 
resetting the existing ship groups.

Modified:
    
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java

Modified: 
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java?rev=906568&r1=906567&r2=906568&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java
 (original)
+++ 
ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/ShoppingCartItem.java
 Thu Feb  4 17:10:21 2010
@@ -240,6 +240,7 @@
 
         try {
             newItem.setQuantity(quantity, dispatcher, cart, true, false);
+            cart.setItemShipGroupQty(newItem, quantity, 0);
         } catch (CartItemModifyException e) {
             cart.removeCartItem(cart.getItemIndex(newItem), dispatcher);
             cart.clearItemShipInfo(newItem);


Reply via email to