From 096955b675ef6ff2c0827cfd9acf22265fb2e64d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 10 Oct 2012 10:34:57 +0200 Subject: [PATCH] Instanciate directly with the id instead of using browse Model.browse takes only list of ids now. issue2820 --- trytond/ir/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/ir/model.py b/trytond/ir/model.py index d5eb79ca2a..8bf1910487 100644 --- a/trytond/ir/model.py +++ b/trytond/ir/model.py @@ -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)