[FIX] crash in account settings: configure company data

This commit is contained in:
Fabien Pinckaers
2015-09-09 13:26:22 +02:00
parent 91a87e0cdf
commit a048ff7484
+1 -1
View File
@@ -223,7 +223,7 @@ class AccountConfigSettings(models.TransientModel):
@api.multi
def open_company(self):
user = self.env['res.users'].browse(uid)
user = self.env['res.users'].browse(self.env.uid)
return {
'type': 'ir.actions.act_window',
'name': 'My Company',