odoo-ide/pycharm-odoo

Cannot resolve symbol 'res_partner_many2one' in module base

Opened this issue · 2 comments

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

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

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?