[FIX] web_widget_domain_editor_dialog: keep context

The dialog needs to keep the context so translations and other things
work as expected.

TT45543
pull/2642/head
David 2023-10-18 10:38:08 +02:00
parent df3a5ccc3f
commit 8173c33a12
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@ odoo.define("web_widget_domain_editor_dialog.basic_fields", function (require) {
readonly: false,
disable_multiple_selection: false,
no_create: true,
context: this.record.getContext({
fieldName: this.name,
viewType: this.viewType,
}),
on_selected: function (selected_ids) {
_this.inDomainEditor = true;
_this.domainSelector