Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
Add import_compat in context when export_all
Browse files Browse the repository at this point in the history
  • Loading branch information
Laetitia Gangloff committed Apr 22, 2016
1 parent b48832c commit ea0afb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web_exportall/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def index(self, req, data, token):
domain = data_dict.get('domain', False)
import_compat = data_dict.get('import_compat', False)
context = data_dict.get('context', req.context)
context['import_compat'] = import_compat
Model = req.session.model(model)
ids = itter_ids(Model.search(domain, 0, False, False, context))

Expand Down

0 comments on commit ea0afb6

Please sign in to comment.