summaryrefslogtreecommitdiff
path: root/addons/web/controllers/main.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2016-01-07 18:21:13 +0100
committerChristophe Simonis <chs@odoo.com>2016-01-07 18:21:13 +0100
commit4852d6033d8d11aa62434a0df22aa24d5760fdb0 (patch)
tree327deda5210017a1514ddc87a64663cca74f63c6 /addons/web/controllers/main.py
parent5ba5172d9922c76b07f2e510dc676760aba89827 (diff)
parent99b6cd8119211414602c739087c57d1966198f8e (diff)
[MERGE] forward port of branch saas-8 up to 99b6cd8
Diffstat (limited to 'addons/web/controllers/main.py')
-rw-r--r--addons/web/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py
index 12caba8ba79..9b2a3243866 100644
--- a/addons/web/controllers/main.py
+++ b/addons/web/controllers/main.py
@@ -1481,7 +1481,7 @@ class Reports(http.Controller):
if 'name' not in action:
reports = request.session.model('ir.actions.report.xml')
res_id = reports.search([('report_name', '=', action['report_name']),],
- 0, False, False, context)
+ context=context)
if len(res_id) > 0:
file_name = reports.read(res_id[0], ['name'], context)['name']
else: