From 6eb87f8ca5e3f7944f6db48314fe53c30cae640f Mon Sep 17 00:00:00 2001 From: Bertrand Chenal Date: Tue, 3 Jun 2008 13:24:25 +0200 Subject: [PATCH] Fix method signature for get_complete_name. --- category.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/category.py b/category.py index 7fd20b7418..1528e983fc 100644 --- a/category.py +++ b/category.py @@ -31,7 +31,7 @@ class Category(OSV): def default_active(self, cursor, user, context=None): return 1 - def get_complete_name(self, cursor, user, obj_id, name, value, arg, + def get_complete_name(self, cursor, user, ids, name, arg, context=None): res = self.name_get(cursor, user, ids, context) return dict(res)