[IMP] base_import: defer parent store

Makes possible to choose `defer_parent_store_computation` in UI.

Closes #21320
This commit is contained in:
Nicolas Seinlet
2017-12-12 12:05:51 +01:00
committed by Nicolas Martinelli
parent b610e2a812
commit 68cb2ade09
2 changed files with 13 additions and 1 deletions
@@ -63,6 +63,15 @@
Track history during import
</label>
</div>
<div title="If the model uses parent/child relations, computing the
parent / child relation occurs on every line, and lead to a slower import.
Defering it can speed up import."
class="oe_import_deferparentstore">
<input type="checkbox" id="oe_import_deferparentstore" checked="checked"/>
<label for="oe_import_deferparentstore">
Defer parent/child computation
</label>
</div>
<input type="checkbox" class="oe_import_has_header"
id="oe_import_has_header" checked="checked"/>
<label for="oe_import_has_header">The first row