Skip to content

Commit

Permalink
[FIX] export: in saas-3, req becomes request.
Browse files Browse the repository at this point in the history
Error during forward port b9275da
  • Loading branch information
beledouxdenis committed Aug 14, 2014
1 parent 8b12d1c commit 9b55532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/web/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,7 @@ def base(self, data, token):
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)
Expand Down

0 comments on commit 9b55532

Please sign in to comment.