3
0
Fork 0

[FIX] web_m2x_options: add fieldColor to Many2OneAvatarUserField and KanbanMany2OneAvatarUserField

17.0
Christopher Rogos 2024-08-22 13:45:12 +00:00
parent f4885276a6
commit 767de4c065
1 changed files with 11 additions and 1 deletions

View File

@ -6,7 +6,11 @@ import {
} from "@web/views/fields/many2many_tags/many2many_tags_field";
import {Many2OneField, many2OneField} from "@web/views/fields/many2one/many2one_field";
import {FormController} from "@web/views/form/form_controller";
import {Many2OneAvatarField} from "@web/views/fields/many2one_avatar/many2one_avatar_field";
import {
KanbanMany2OneAvatarField,
Many2OneAvatarField,
} from "@web/views/fields/many2one_avatar/many2one_avatar_field";
import {Many2XAutocomplete} from "@web/views/fields/relational_utils";
import {evaluateBooleanExpr} from "@web/core/py_js/py";
import {isX2Many} from "@web/views/utils";
@ -25,6 +29,12 @@ Many2XAutocomplete.props = {
fieldColorOptions: {type: Object, optional: true},
};
KanbanMany2OneAvatarField.props = {
...KanbanMany2OneAvatarField.props,
fieldColor: {type: String, optional: true},
fieldColorOptions: {type: Object, optional: true},
};
Many2OneAvatarField.props = {
...Many2OneAvatarField.props,
noSearchMore: {type: Boolean, optional: true},