Skip to content
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

Cannot resolve symbol 'res_partner_many2one' in module base #427

Open
jcfernandez-890825 opened this issue Oct 27, 2023 · 2 comments
Open
Labels

Comments

@jcfernandez-890825
Copy link

odoo/addons/base/views/res_partner_views.xml
image

@trinhanhngoc
Copy link
Member

@jcfernandez-890825,

Do you think this is a bug of Odoo? The res_partner_many2one widget is defined in the mail module (https://github.com/odoo/odoo/blob/34825ffadb157cbf37def1ad82d4d523dc199a09/addons/mail/static/src/js/m2x_avatar_user.js#L334) on which the base module does not depend.

@trinhanhngoc trinhanhngoc changed the title Cannot resolve symbol 'res_partner_many2one' Cannot resolve symbol 'res_partner_many2one' in module base Oct 27, 2023
@jcfernandez-890825
Copy link
Author

Do you think this is a bug of Odoo? The res_partner_many2one widget is defined in the mail module

You are correct, they should move that definition to base or move that XML to another module. But ... that might take a lot of time.

How about this, mail is a module that get's installed as soon as you install any app type module. Since it contains all the features to send/fetch emails, chatter on form views, etc ...

Is it possible to consider that this module is a dependency always?

@trinhanhngoc trinhanhngoc added this to the 2023.9.5 milestone Oct 29, 2023
@trinhanhngoc trinhanhngoc added the enhancement New feature or request label Oct 29, 2023
@trinhanhngoc trinhanhngoc removed this from the 2023.9.5 milestone Nov 2, 2023
@trinhanhngoc trinhanhngoc added odoo bug and removed enhancement New feature or request labels Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants