Instanciate directly with the id instead of using browse
Model.browse takes only list of ids now. issue2820
This commit is contained in:
1 parent
d7611e22e7
commit
096955b675
1 file changed
+1
-1
+1
-1
@@ -685,7 +685,7 @@ class ModelGraph(Report):
|
||||
])
|
||||
if not action_report_ids:
|
||||
raise Exception('Error', 'Report (%s) not find!' % cls.__name__)
|
||||
action_report = ActionReport.browse(action_report_ids[0])
|
||||
action_report = ActionReport(action_report_ids[0])
|
||||
|
||||
models = Model.browse(ids)
|
||||
|
||||
|
||||
Reference in new issue
Block a user