From feb28345185a2715530ad9f440d0c8d62cdd2e5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 18 Mar 2010 18:15:18 +0100 Subject: [PATCH] Remove ids from on_change* calls --- order_point.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/order_point.py b/order_point.py index 290550ce84..a0ec83785a 100644 --- a/order_point.py +++ b/order_point.py @@ -82,7 +82,7 @@ class OrderPoint(ModelSQL, ModelView): def default_type(self, cursor, user, context=None): return "purchase" - def on_change_product(self, cursor, user, ids, vals, context=None): + def on_change_product(self, cursor, user, vals, context=None): product_obj = self.pool.get('product.product') res = { 'unit': False,