From 29f75a70ce5aae64dd16753aa83f597dc4b0dcfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 28 Oct 2011 11:05:25 +0200 Subject: [PATCH] Use correct variable name --- stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock.py b/stock.py index a53d73e746..a8fa21cfd6 100644 --- a/stock.py +++ b/stock.py @@ -91,7 +91,7 @@ class ShipmentOut(ModelWorkflow, ModelSQL, ModelView): currency_obj = pool.get('currency.currency') try: - result = super(ShipmentOut, self).on_change_lines(value) + result = super(ShipmentOut, self).on_change_lines(values) except AttributeError: result = {} carrier = carrier_obj.browse(values['carrier'])