diff options
| author | Martin Trigaux <mat@odoo.com> | 2015-12-01 10:30:44 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2015-12-01 10:30:44 +0100 |
| commit | 90254beedbb6a9bdf055ae582af866073eab4f2c (patch) | |
| tree | 8477905dd0a6586dedab562274247604ecc479a3 /addons/web/controllers/main.py | |
| parent | 2f6feef3a3dcd39ce2ca1fbcfa21616e02d1ab6d (diff) | |
| parent | 00ee6e7ba4e68cfef0b26f9d02f9584b8c972291 (diff) | |
[MERGE] forward port of branch 9.0 up to 00ee6e7b
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 b2f35500ab4..3d68c05c2e0 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1411,7 +1411,7 @@ class ExportFormat(object): Model = request.session.model(model) context = dict(request.context or {}, **params.get('context', {})) - ids = ids or Model.search(domain, 0, False, False, context) + ids = ids or Model.search(domain, 0, False, False, context=context) if not request.env[model]._is_an_ordinary_table(): fields = [field for field in fields if field['name'] != 'id'] |
