282733cf8df7bfe7cae17fd726d1caf759690169
mail.thread mixing class defines several methods used in notification process that are not specific to mail.thread enabled models. It means some models could override it while some other models do not even have a direct access to that method. When calling those methods we have to manually check for method being available on a record or call a default implementation from mail.thread even if the model does not inherit from the mixin. In this commit we propose to hide this check in generic wrappers located in mail.thread class. It checks for method existence on record and call the model-specific implementation or falls back on standard behavior. It allows to be sure the right method is called. Functionally behavior should stay globally the same. However when updating some addons code has been updated. Previous code could lead to records not having correct alias which should not be the case anymore. This commit is linked to task ID 47934.
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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%