From 3d1d41c0541a434f7dacf22e9b8fcabe8237b69a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 21 Aug 2008 10:16:58 +0200 Subject: [PATCH] Fix typo --- party.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/party.py b/party.py index 5cebc769f2..9fc6d63c85 100644 --- a/party.py +++ b/party.py @@ -129,7 +129,7 @@ class Party(OSV): if vals.get('code'): vals = vals.copy() vals['code_length'] = len(vals['code']) - return super(Party, self).create(cursor, user, vals, context=context) + return super(Party, self).write(cursor, user, ids, vals, context=context) def copy(self, cursor, user, object_id, default=None, context=None): if default is None: