summaryrefslogtreecommitdiff
path: root/addons/base_import/static/src/xml/import.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2014-05-12 12:04:00 +0200
committerXavier Morel <xmo@openerp.com>2014-05-12 12:04:00 +0200
commitb39aac717d7a998cc169418c483a7b063fe5fa79 (patch)
tree8fe7cd7a31b0ff58b347e8962d85f02039ca0f05 /addons/base_import/static/src/xml/import.xml
parentf14f632ef5bf62c1c985418beaa786c9799a12b5 (diff)
[IMP] mail, base_import: context key disabling history tracking
* added a ``tracking_disable`` context key used by mail to completely disable subscriptions setup and events generation during create and write operations * added import option to optionally set up that context key and speed up imports at the cost of not setting up subscriptions and not sending create/update events bzr revid: xmo@openerp.com-20140512100400-d1axjam2d0i2y0tf
Diffstat (limited to 'addons/base_import/static/src/xml/import.xml')
-rw-r--r--addons/base_import/static/src/xml/import.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/base_import/static/src/xml/import.xml b/addons/base_import/static/src/xml/import.xml
index 8d7155912e6..953beca8d9f 100644
--- a/addons/base_import/static/src/xml/import.xml
+++ b/addons/base_import/static/src/xml/import.xml
@@ -53,6 +53,15 @@
<div class="oe_import_with_file oe_padding">
<h2>Map your data to OpenERP</h2>
+ <div title="If the model uses openchatter, history tracking
+ will set up subscriptions and send notifications
+ during the import, but lead to a slower import.">
+ <input type="checkbox" id="oe_import_tracking"
+ checked="checked"/>
+ <label for="oe_import_tracking">
+ Track history during import
+ </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 of the