forked from Techsystech/web
[FIX] web_m2x_options: add fieldColor to KanbanMany2ManyTagsAvatarField
parent
ede5920018
commit
02175423e5
|
@ -10,7 +10,10 @@ import {
|
|||
KanbanMany2OneAvatarField,
|
||||
Many2OneAvatarField,
|
||||
} from "@web/views/fields/many2one_avatar/many2one_avatar_field";
|
||||
import {Many2ManyTagsAvatarField} from "@web/views/fields/many2many_tags_avatar/many2many_tags_avatar_field";
|
||||
import {
|
||||
KanbanMany2ManyTagsAvatarField,
|
||||
Many2ManyTagsAvatarField,
|
||||
} from "@web/views/fields/many2many_tags_avatar/many2many_tags_avatar_field";
|
||||
|
||||
import {Many2XAutocomplete} from "@web/views/fields/relational_utils";
|
||||
import {evaluateBooleanExpr} from "@web/core/py_js/py";
|
||||
|
@ -63,6 +66,12 @@ Many2ManyTagsAvatarField.props = {
|
|||
fieldColorOptions: {type: Object, optional: true},
|
||||
};
|
||||
|
||||
KanbanMany2ManyTagsAvatarField.props = {
|
||||
...KanbanMany2ManyTagsAvatarField.props,
|
||||
fieldColor: {type: String, optional: true},
|
||||
fieldColorOptions: {type: Object, optional: true},
|
||||
};
|
||||
|
||||
patch(many2OneField, {
|
||||
m2o_options_props_create(props, attrs, options) {
|
||||
const ir_options = session.web_m2x_options;
|
||||
|
|
Loading…
Reference in New Issue