odoo-ide / pycharm-odoo

PyCharm plugin for Odoo
https://plugins.jetbrains.com/plugin/13499-odoo
Other
44 stars 5 forks source link

Cannot resolve symbol 'res_partner_many2one' in module base #427

Open jcfernandez-890825 opened 11 months ago

jcfernandez-890825 commented 11 months ago

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

trinhanhngoc commented 11 months ago

@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.

jcfernandez-890825 commented 11 months ago

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?