From 285b9ffeb141de64a339992fb80d247b1ff4c506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 14 Apr 2010 00:01:26 +0200 Subject: [PATCH] Fix call to on_change_with_purchase_visible ids has been removed from on_change signature --- purchase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/purchase.py b/purchase.py index 28b582a447..6e09c44df0 100644 --- a/purchase.py +++ b/purchase.py @@ -1779,7 +1779,7 @@ class Move(ModelSQL, ModelView): vals = { 'from_location': from_location, } - return self.on_change_with_purchase_visible(cursor, user, [], vals, + return self.on_change_with_purchase_visible(cursor, user, vals, context=context) def on_change_with_purchase_visible(self, cursor, user, vals,