03aa01aff7b52886afc0d18b8237aa82b9d8961f
Portal defines the 'portal.mixin' that overrides a method from 'mail.thread'. However no explicit inheritance is given between those two mixin. Some Odoo models notably inherit from 'portal.mixin' and not from 'mail.thread'. It makes no sense to override a method the model does not explicitly inherit. In this commit we move the override on 'mail.thread' by checking the model also inherits from 'portal.mixin' before doing portal-specific computation. This fixes tests introduced previously. Task-3175768 (Mail: check inheritances / overrides) closes odoo/odoo#112573 Related: odoo/enterprise#37039 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%