From c0222bc886087f2df34154eb9691c7630c10b24e Mon Sep 17 00:00:00 2001 From: Josse Colpaert Date: Fri, 14 Feb 2014 10:12:31 +0100 Subject: [PATCH] [WIP] Add comment for testing bzr revid: jco@openerp.com-20140214091231-92s13sb4uc697188 --- addons/stock/stock.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index b5a77e07e86..b5b2ecb48d0 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -3488,6 +3488,8 @@ class stock_pack_operation(osv.osv): elif op.package_id: for product_id, qty in package_obj._get_all_products_quantities(cr, uid, op.package_id.id, context=context).items(): _create_link_for_product(product_id, qty) +# for op in operations: +# print [(y.qty, y.operation_id, y.move_id) for y in op.linked_move_operation_ids] def process_packaging(self, cr, uid, operation, quants, context=None): ''' Process the packaging of a given operation, after the quants have been moved. If there was not enough quants found