Skip to content

Commit

Permalink
[IMP] web_m2x_options: remove unneeded fieldColor on ListMany2ManyTag…
Browse files Browse the repository at this point in the history
…sAvatarField

ListMany2ManyTagsAvatarField already extends from Many2ManyTagsAvatarField
  • Loading branch information
JordiMForgeFlow authored and bud-e committed Oct 16, 2024
1 parent 9893f75 commit 2b1bf09
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions web_m2x_options/static/src/components/form.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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},
Expand Down

0 comments on commit 2b1bf09

Please sign in to comment.