diff options
| author | Martin Trigaux <mat@odoo.com> | 2016-01-05 18:28:06 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-01-05 18:28:06 +0100 |
| commit | 8b4f052a3872b397bbe252e353b1d18d273ec8ff (patch) | |
| tree | d5f8dd6d6dbc5065affadbbfed44d02f28733195 /addons/web/controllers/main.py | |
| parent | c649bb0df61eb19de510992cc5f2200fef89cb82 (diff) | |
| parent | 0f085db19e496c31d12ca66bcf75c2ac239b8667 (diff) | |
[MERGE] Forwardport of branch saas-6 up to c649bb0df
Diffstat (limited to 'addons/web/controllers/main.py')
| -rw-r--r-- | addons/web/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 1c3723fa3b4..eb45ef32680 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1478,7 +1478,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: |
