From eaee2e84acfd9ca1abbffe07c9312c864c78965a Mon Sep 17 00:00:00 2001 From: JordiMForgeFlow Date: Tue, 15 Oct 2024 09:51:04 +0200 Subject: [PATCH] [IMP] web_m2x_options: remove unneeded fieldColor on ListMany2ManyTagsAvatarField ListMany2ManyTagsAvatarField already extends from Many2ManyTagsAvatarField --- web_m2x_options/static/src/components/form.esm.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/web_m2x_options/static/src/components/form.esm.js b/web_m2x_options/static/src/components/form.esm.js index a6f861f9b7b..9df44283570 100644 --- a/web_m2x_options/static/src/components/form.esm.js +++ b/web_m2x_options/static/src/components/form.esm.js @@ -10,10 +10,7 @@ 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 {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"; @@ -60,12 +57,6 @@ 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},