From e00226643d2797ad65da3579a659e42cc1b66b2a Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Wed, 26 Jun 2013 16:36:36 +0200 Subject: [PATCH] [FIX] stock: WIP packaging bzr revid: qdp-launchpad@openerp.com-20130626143636-zbakjjessghyw2h2 --- addons/stock/stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 3313f0dc590..e0c484a62b1 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -1654,7 +1654,7 @@ class stock_picking(osv.osv): included_package_ids = package_obj.search(cr, uid, [('parent_id', 'child_of', matching_package_ids[0])], context=context) included_quant_ids = quant_obj.search(cr, uid, [('package_id', 'in', included_package_ids)], context=context) todo_on_moves, todo_on_operations = self._deal_with_quants(cr, uid, picking_id, included_quant_ids, context=context) - return {'warnings': error_msg, 'stock_move_to_update': todo_on_moves, 'package_to_update': todo_on_operations} + return {'warnings': error_msg, 'stock_move_to_update': todo_on_moves, 'operation_to_update': todo_on_operations} class stock_production_lot(osv.osv):