[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#63339
X-original-commit: d947ea609b458ddbccabd661c22652d6c86a8167
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: Achraf <abz-odoo@users.noreply.github.com>
This commit is contained in:
@@ -265,7 +265,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
|
||||
@@ -319,7 +318,6 @@ var DataExport = Dialog.extend({
|
||||
$child.show();
|
||||
}
|
||||
}
|
||||
this.$('#o-export-search-filter').val('');
|
||||
},
|
||||
/**
|
||||
* Fetches the saved export list for the current model
|
||||
|
||||
Reference in New Issue
Block a user