From be14aa420ea3dc88a104d845a03dce43f9b05f9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 27 Mar 2008 16:53:39 +0100 Subject: [PATCH] Fix typo --- company.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/company.py b/company.py index 941984ffed..07d0c6e6e8 100644 --- a/company.py +++ b/company.py @@ -91,7 +91,7 @@ class Property(OSV): if res: user_obj = self.pool.get('res.user') company = user_obj.browse(cursor, user, user, context=context) - self.write(cursor, user, { + self.write(cursor, user, res, { 'company': company.id, }, context=context) return res