diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-07-25 15:07:47 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-07-25 15:07:47 +0200 |
| commit | fc0f02305347ed46e8fdc7dd68188d17dc9b09a6 (patch) | |
| tree | 7d35a2584b180226fdaa81c76e33dd4ac2988f5f /addons/web/controllers/main.py | |
| parent | 7aa9f2395529e0f91aff6923da577b4087309d63 (diff) | |
| parent | 1089dcf15cb09619776ffeb101b20dedee112830 (diff) | |
[MERGE] forward port branch 9.0 up to 1089dcf
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 d62c11d912f..645c1d9b32d 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1320,7 +1320,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=context) + ids = ids or Model.search(domain, offset=0, limit=False, order=False, context=context) if not request.env[model]._is_an_ordinary_table(): fields = [field for field in fields if field['name'] != 'id'] |
