summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets/data_export.js
diff options
context:
space:
mode:
authorKishan Gajjar <kig@odoo.com>2016-11-08 12:36:45 +0530
committerYannick Tivisse <yti@odoo.com>2016-11-09 15:06:12 +0100
commit5a3d0fc3ffe284e663f96ec0d10399afb71550c7 (patch)
tree15da5a9ce54814b332cef73283986edaf0efbe98 /addons/web/static/src/js/widgets/data_export.js
parentef9c07b0ef2de47fe50b903c71d6c1d1b3d1ada0 (diff)
[IMP] web: show technical field name in export wizard by hover in debug mode
In export wizard on mouse hover display technical name of field in debug mode
Diffstat (limited to 'addons/web/static/src/js/widgets/data_export.js')
-rw-r--r--addons/web/static/src/js/widgets/data_export.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/widgets/data_export.js b/addons/web/static/src/js/widgets/data_export.js
index 24fb6a41f75..30adbd64017 100644
--- a/addons/web/static/src/js/widgets/data_export.js
+++ b/addons/web/static/src/js/widgets/data_export.js
@@ -369,11 +369,11 @@ var DataExport = Dialog.extend({
.find('.o_expand_parent')
.toggleClass('fa-plus fa-minus')
.next()
- .after(QWeb.render('Export.TreeItems', {'fields': records}));
+ .after(QWeb.render('Export.TreeItems', {'fields': records, 'debug': this.session.debug}));
} else {
this.$('.o_left_field_panel').empty().append(
$("<div/>").addClass('o_field_tree_structure')
- .append(QWeb.render('Export.TreeItems', {'fields': records}))
+ .append(QWeb.render('Export.TreeItems', {'fields': records, 'debug': this.session.debug}))
);
}