From d6683c4c804ef4bd0247fc35839405088dbe994f Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Fri, 5 Aug 2016 17:03:34 +0200 Subject: [PATCH] [FIX] report: get_action: name the action This is useful now that we show the report in the action manager thanks to the report client action. Also remove the duplication of the context key. --- addons/report/models/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/report/models/report.py b/addons/report/models/report.py index 13ee2cb0547..82f9eaca9cd 100644 --- a/addons/report/models/report.py +++ b/addons/report/models/report.py @@ -293,7 +293,7 @@ class Report(osv.Model): 'report_name': report.report_name, 'report_type': report.report_type, 'report_file': report.report_file, - 'context': context, + 'name': report.name, } @api.v8