summaryrefslogtreecommitdiff
path: root/addons/web/controllers/main.py
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2014-08-14 14:48:55 +0200
committerOlivier Dony <odo@openerp.com>2014-08-14 14:54:37 +0200
commitacbdac4e9fd5d63a2e7ac94f3552e36179ad2227 (patch)
tree422b666cf32e6b360678c291debff9dbfb1be229 /addons/web/controllers/main.py
parent6189c44d9799c615145b4d3a2f92d6d6c977792c (diff)
parent9a84d55036bba1a8268934e3935c77c976f98ed4 (diff)
[MERGE] Forward-port saas-4 up to 9a84d55
Diffstat (limited to 'addons/web/controllers/main.py')
-rw-r--r--addons/web/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py
index b1470df5604..86df9b0d904 100644
--- a/addons/web/controllers/main.py
+++ b/addons/web/controllers/main.py
@@ -1531,7 +1531,7 @@ class ExportFormat(object):
params)
Model = request.session.model(model)
- context = dict(req.context or {}, **params.get('context', {}))
+ context = dict(request.context or {}, **params.get('context', {}))
ids = ids or Model.search(domain, 0, False, False, context)
field_names = map(operator.itemgetter('name'), fields)