From c02b2ca7d1842e8d405d4ffc20eda71a5b93a172 Mon Sep 17 00:00:00 2001 From: Haresh Shyara Date: Tue, 3 Jan 2017 09:50:35 +0100 Subject: [IMP] base_import: Improve import preview for related fields normal mode: Importing only regular/basic fields from source file advanced mode: Importing any related fields from source file(i.e. if detected pattern in header like '/') - Rename following checkbox "Show all fields for completion (advanced)" in "Show fields of relation fields (advanced)" - If the import file contains a column with a field of a relation field, show the column label in the preview, even if "Show fields of relation fields (advanced)" is not checked > to make it less confusing when importing advanced files (e.g. products with attributes) This is a backport of 1ba4fbe640cf, which was performed due to several tickets mentioning confusion with the new import system. --- addons/base_import/static/src/xml/base_import.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/base_import/static/src/xml/base_import.xml') diff --git a/addons/base_import/static/src/xml/base_import.xml b/addons/base_import/static/src/xml/base_import.xml index 0d23096f691..8a416c3ca42 100644 --- a/addons/base_import/static/src/xml/base_import.xml +++ b/addons/base_import/static/src/xml/base_import.xml @@ -67,9 +67,9 @@ id="oe_import_has_header" checked="checked"/> - - +

If the file contains the column names, Odoo can try auto-detecting the field corresponding to the column. This makes imports -- cgit v1.2.3