diff --git a/web_advanced_search/static/src/js/control_panel/advanced_select_dialog.js b/web_advanced_search/static/src/js/control_panel/advanced_select_dialog.js index 8226bd416337..c22c66cb7fe5 100644 --- a/web_advanced_search/static/src/js/control_panel/advanced_select_dialog.js +++ b/web_advanced_search/static/src/js/control_panel/advanced_select_dialog.js @@ -43,8 +43,16 @@ odoo.define("web_advanced_search.AdvancedSelectDialog", function (require) { } } }, + load_optional_fields: "_onLoadOptionalFields", + save_optional_fields: "_onSaveOptionalFields", } ), + _onLoadOptionalFields: function (ev) { + ev.stopPropagation(); + }, + _onSaveOptionalFields: function (ev) { + ev.stopPropagation(); + }, /** * Fully overide function to just show Select and Use Criteria. */