Fix OpenCustomer to not call browse with int

issue2836
review572002
This commit is contained in:
Cédric Krier committed 2012-10-20 23:28:13 +02:00
1 parent a88580298f
commit 119a04fe85
1 file changed
+1 -1
+1 -1
View File
@@ -1678,7 +1678,7 @@ class OpenCustomer(Wizard):
('module', '=', 'sale'),
('inherit', '=', None),
], limit=1)
wizard = Wizard.browse(model_data.db_id)
wizard = Wizard(model_data.db_id)
action['name'] = wizard.name
return action, {}