From d4cbef2cb84d3f3a1933b18ce5be376b3d772f87 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Wed, 23 Oct 2013 11:30:47 +0200 Subject: [PATCH] [FIX] stock: missing parameter in lambda function for store_get_values bzr revid: qdp-launchpad@openerp.com-20131023093047-8c6pp6euxhwna5z9 --- 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 738490f3a4b..abcd5a464c1 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -666,7 +666,7 @@ class stock_picking(osv.osv): 'location_dest_id': fields.related('move_lines', 'location_dest_id', type='many2one', relation='stock.location', string='Destination Location', readonly=True), 'group_id': fields.related('move_lines', 'group_id', type='many2one', relation='procurement.group', string='Procurement Group', readonly=True, store={ - 'stock.picking': (lambda cr, uid, ids, c: ids, ['move_lines'], 10), + 'stock.picking': (lambda self, cr, uid, ids, ctx: ids, ['move_lines'], 10), 'stock.move': (_get_pickings, ['group_id', 'picking_id'], 10), }), }