summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorAchraf (abz) <abz@odoo.com>2020-12-14 06:46:59 +0000
committerAchraf (abz) <abz@odoo.com>2020-12-14 13:23:30 +0000
commitd68ae11c233589895c4e78178ef5b146238b543e (patch)
tree60265b6efaa8791db9911d286207733471a3db05 /addons/web/static
parent008def3f878b63cb49e0b5ef09a2cc22c784c0a9 (diff)
[FIX] web: Select subfields without removing filter text on export
What are the steps to reproduce your issue ? 1. Install "contacts" 2. Select list view and select one or more contacts 3. Select "Export" actions What is currently happening ? When filtering fields with text, the system only displays the corresponding fields, but when clicking on sub-field the text written just before is deleted, which prevents us to return to all fields without filter What are you expecting to happen ? Filter fields and select sub-field without deleting the filter text opw-2411928 closes odoo/odoo#63329 X-original-commit: d947ea609b458ddbccabd661c22652d6c86a8167 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by: Achraf <abz-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static')
-rw-r--r--addons/web/static/src/js/widgets/data_export.js2
1 files changed, 0 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 0e10e56af80..ec21e196771 100644
--- a/addons/web/static/src/js/widgets/data_export.js
+++ b/addons/web/static/src/js/widgets/data_export.js
@@ -264,7 +264,6 @@ var DataExport = Dialog.extend({
var $el = $(el);
$el.find('.o_tree_column').first().toggleClass('o_required', !!self.records[$el.data('id')].required);
});
- this.$('#o-export-search-filter').val('');
},
/**
* @private
@@ -318,7 +317,6 @@ var DataExport = Dialog.extend({
$child.show();
}
}
- this.$('#o-export-search-filter').val('');
},
/**
* Fetches the saved export list for the current model