[FIX] web: FieldDomain: open selection with field context
Closes #33658 closes odoo/odoo#34989 Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
This commit is contained in:
@@ -3036,6 +3036,7 @@ var FieldDomain = AbstractField.extend({
|
||||
new view_dialogs.SelectCreateDialog(this, {
|
||||
title: _t("Selected records"),
|
||||
res_model: this._domainModel,
|
||||
context: this.record.getContext({fieldName: this.name, viewType: this.viewType}),
|
||||
domain: this.value || "[]",
|
||||
no_create: true,
|
||||
readonly: true,
|
||||
|
||||
Reference in New Issue
Block a user