diff options
| author | Martin Trigaux <mat@odoo.com> | 2015-12-01 10:54:51 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2015-12-01 10:54:51 +0100 |
| commit | 87f96c942ab4381b489db5b6bf5de959f0ec3d7f (patch) | |
| tree | e9302d09e1fce1d4544e7fa92d4465105ded0140 /addons/web/controllers/main.py | |
| parent | d025251c7e4ee4c26462e61b5d63e5c5d58689f8 (diff) | |
| parent | 90254beedbb6a9bdf055ae582af866073eab4f2c (diff) | |
[MERGE] forward port of branch saas-7 up to 90254bee
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'] |
