[FIX] stock: WIP packaging

bzr revid: qdp-launchpad@openerp.com-20130626143636-zbakjjessghyw2h2
This commit is contained in:
Quentin (OpenERP)
2013-06-26 16:36:36 +02:00
parent bbea406797
commit e00226643d
+1 -1
View File
@@ -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):