[FIX]: changing qty is not changing packaging values accordingly
authorksa (Open ERP) <ksa@tinyerp.co.in>
Wed, 27 Oct 2010 12:08:07 +0000 (17:38 +0530)
committerksa (Open ERP) <ksa@tinyerp.co.in>
Wed, 27 Oct 2010 12:08:07 +0000 (17:38 +0530)
bzr revid: ksa@tinyerp.co.in-20101027120807-wzrht9ay9l8a4uow

addons/sale/sale.py

index 97b5be9..40e3605 100644 (file)
@@ -1065,7 +1065,7 @@ class sale_order_line(osv.osv):
                     'title': _('Picking Information !'),
                     'message': warn_msg
                     }
-            result['product_uom_qty'] = qty
+            result['product_uom_qty'] = pack.qty
 
         uom2 = False
         if uom: