mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_m2x_options: add fieldColor to ListMany2ManyTagsAvatarField and Many2ManyTagsAvatarField
This commit is contained in:
@@ -10,6 +10,10 @@ import {
|
||||
KanbanMany2OneAvatarField,
|
||||
Many2OneAvatarField,
|
||||
} from "@web/views/fields/many2one_avatar/many2one_avatar_field";
|
||||
import {
|
||||
ListMany2ManyTagsAvatarField,
|
||||
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";
|
||||
@@ -56,6 +60,18 @@ Many2ManyTagsFieldColorEditable.props = {
|
||||
fieldColorOptions: {type: Object, optional: true},
|
||||
};
|
||||
|
||||
ListMany2ManyTagsAvatarField.props = {
|
||||
...ListMany2ManyTagsAvatarField.props,
|
||||
fieldColor: {type: String, optional: true},
|
||||
fieldColorOptions: {type: Object, optional: true},
|
||||
};
|
||||
|
||||
Many2ManyTagsAvatarField.props = {
|
||||
...Many2ManyTagsAvatarField.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;
|
||||
|
||||
Reference in New Issue
Block a user