diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 4324306c388..23c9fd610f1 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -1490,7 +1490,7 @@ class stock_picking(osv.osv): #write qty_done into field product_qty for every package_operation before doing the transfer pack_op_obj = self.pool.get('stock.pack.operation') for operation in self.browse(cr, uid, picking_id, context=context).pack_operation_ids: - pack_op_obj.write(cr, uid, operation.id, {'product_qty': operation.qty_done}, context=context) + pack_op_obj.write(cr, uid, operation.id, {'product_qty': operation.qty_done}, context=dict(context, no_recompute=True)) self.do_transfer(cr, uid, [picking_id], context=context) #return id of next picking to work on return self.get_next_picking_for_ui(cr, uid, context=context)