8000 [17.0][FIX] Opining Task Menu's by Murtaza-OSI · Pull Request #3168 · OCA/web · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[17.0][FIX] Opining Task Menu's #3168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion web_m2x_options/static/src/components/form.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
KanbanMany2ManyTagsAvatarField,
Many2ManyTagsAvatarField,
} from "@web/views/fields/many2many_tags_avatar/many2many_tags_avatar_field";

import { KanbanMany2ManyTagsAvatarUserField ,ListMany2ManyTagsAvatarUserField } from "@mail/views/web/fields/many2many_avatar_user_field/many2many_avatar_user_field";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is coming from the mail module, but this one depends just on web.

The issue is a regular one with this module and it would require glue module for this case. If I'm not wrong, in the v18 it was addressed with an alternative approach...

import {Many2XAutocomplete} from "@web/views/fields/relational_utils";
import {evaluateBooleanExpr} from "@web/core/py_js/py";
import {isX2Many} from "@web/views/utils";
Expand Down Expand Up @@ -53,6 +53,20 @@ Many2ManyTagsField.props = {
...fieldColorProps,
};

ListMany2ManyTagsAvatarUserField.props = {
...ListMany2ManyTagsAvatarUserField.props,
searchLimit: {type: Number, optional: true},
...fieldColorProps,
}

KanbanMany2ManyTagsAvatarUserField.props = {
...KanbanMany2ManyTagsAvatarUserField.props,
searchLimit: {type: Number, optional: true},
withCommand: {optional: true},
isEditable: {optional: true},
...fieldColorProps,
};

Many2ManyTagsFieldColorEditable.props = {
...Many2ManyTagsFieldColorEditable.props,
searchLimit: {type: Number, optional: true},
Expand Down
Loading
0