Merge PR #1787 into 13.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2021-03-08 08:30:37 +00:00

View File

@@ -16,6 +16,9 @@ odoo.define("web_widget_domain_editor_dialog.basic_fields", function(require) {
if (this.mode === "readonly") {
return this._super.apply(this, arguments);
}
if (!this.value) {
this.value = [];
}
const dialog = new DomainEditorDialog(this, {
title: _t("Select records..."),
res_model: this._domainModel,