From 069a8701499e705fa55ce8d88c43b094aee6a891 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Wed, 26 Jun 2013 16:46:28 +0200 Subject: [PATCH] [FIX] stock: WIP packaging bzr revid: qdp-launchpad@openerp.com-20130626144628-w8ssaqcjxdja15ao --- 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 1e2b58eaa85..1e0fe2d4b75 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -3711,7 +3711,7 @@ class stock_package(osv.osv): included_package_ids = self.search(cr, uid, [('parent_id', 'child_of', [operation.package_id.id])], 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, operation.picking_id.id, included_quant_ids, context=context) - return {'warnings': '', 'stock_move_to_update': todo_on_moves, 'package_to_update': todo_on_operations} + return {'warnings': '', 'moves_to_update': todo_on_moves, 'operations_to_update': todo_on_operations} #def action_delete(self, cr, uid, ids, context=None): # #no need, we use unlink of ids and with the ondelete = cascade it will work flawlessly