This commit is contained in:
Cédric Krier committed 2008-03-27 16:53:39 +01:00
1 parent 7436ec5389
commit be14aa420e
1 file changed
+1 -1
+1 -1
View File
@@ -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