summaryrefslogtreecommitdiff
path: root/addons/base_import/models
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-04-12 13:32:17 +0200
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-04-12 14:54:25 +0200
commit72425445062bc595d0718d83580de9901023aaf3 (patch)
tree4977031f7b36a777a18c43f8828f6bd19ec5ec92 /addons/base_import/models
parent9c1c2c55c23655c56dcd04c3d80da59b5bcab177 (diff)
[FIX] base_import: activate advanced mode
The commit 1ba4fbe640cf22abe did not match the specs of the task, but was merged anyway. Reverting the commit, and check by default so the user is not confused with missing fields. opw-1824074
Diffstat (limited to 'addons/base_import/models')
-rw-r--r--addons/base_import/models/base_import.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/base_import/models/base_import.py b/addons/base_import/models/base_import.py
index dbff99fab88..748b37e86af 100644
--- a/addons/base_import/models/base_import.py
+++ b/addons/base_import/models/base_import.py
@@ -497,7 +497,6 @@ class Import(models.TransientModel):
'headers_type': header_types or False,
'preview': preview,
'options': options,
- 'advanced_mode': any([len(models.fix_import_export_id_paths(col)) > 1 for col in headers or []]),
'debug': self.user_has_groups('base.group_no_one'),
}
except Exception as error: