diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-01-06 16:09:34 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-01-06 16:09:34 +0100 |
| commit | e502b3ea1fe54bb17b2d1daa62a1cf39a1f17ad5 (patch) | |
| tree | 5c63416440ed1ac6f8a577861895f75b9b963d0f /addons/web/controllers/main.py | |
| parent | 31ce19bd7c8ff90aa3a3f34ba13dfbbe00865b3b (diff) | |
| parent | 833fe492d1963edcf0bbca6949d9a0933aacf269 (diff) | |
[MERGE] forward port of branch 9.0 up to 833fe49
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 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: |
