diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-12-21 18:24:22 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-12-21 18:24:22 +0100 |
| commit | aef8a4d61882ba728e3aae6e76b5f7dcb1f946e9 (patch) | |
| tree | e1bc9dd64acde1bf4a888f61db3e00f4510cb1f5 /addons/web/controllers/main.py | |
| parent | 9bdaf45de6f4456cfe39d0417adac052041783da (diff) | |
| parent | f9f7669e601fd9b9824d1c9c4c49cb1ff1894645 (diff) | |
[MERGE] forward port of branch 8.0 up to f9f7669
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 5764d0d708d..3d0ee97b3ed 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1603,7 +1603,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: |
