0afd1f672f2822d3b828830286faa59dfa1d6fe1
Bug === When the admin open an email, he might get an error message if he can not access the mail message. Technical ========= To allow to bypass mail message ACl without adding extra SQL queries, we need to overwrite "_add_inherited_fields". This trick add a related_sudo on the inherits fields, it can't be done with >>> subject = fields.Char(related='mail_message_id.subject', related_sudo=True) because the field of <mail.message> will be fetched two times (one time before of the inherits, and a second time because of the related), and so it will add extra SQL queries. Task-2464212 Part-of: odoo/odoo#78734
…
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%