diff --git a/web_exportall/controllers/main.py b/web_exportall/controllers/main.py index c4b54d910ce8..7f9e591dec88 100644 --- a/web_exportall/controllers/main.py +++ b/web_exportall/controllers/main.py @@ -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)) @@ -153,6 +154,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))