summaryrefslogtreecommitdiff
path: root/addons/base_import/static/src/xml/base_import.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/base_import/static/src/xml/base_import.xml')
-rw-r--r--addons/base_import/static/src/xml/base_import.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/base_import/static/src/xml/base_import.xml b/addons/base_import/static/src/xml/base_import.xml
index fb29ac0c9ea..3b8d8136da9 100644
--- a/addons/base_import/static/src/xml/base_import.xml
+++ b/addons/base_import/static/src/xml/base_import.xml
@@ -100,6 +100,15 @@
<button type="button" class="btn btn-secondary o_import_cancel">Cancel</button>
</t>
+ <t t-name="ImportView.create_record_option">
+ <div class="mt4">
+ <label title="Creates new records if they can't be found (instead of failing to import). Note that the value in the column will be used as the new record's 'name', and assumes this is sufficient to create the record.">
+ <input type="checkbox"/>
+ Create if doesn't exist
+ </label>
+ </div>
+ </t>
+
<t t-name="ImportView.preview">
<thead>
<tr t-if="headers" class="oe_import_grid-header">