452ca009e34f02e934ba7c2c8cce45e012f8b441
When replying on a document they cannot read (notably when being notified) ACLs raise when trying to check if 'main_attachment_id' is already set before updating it. This is fixed in this commit. This fixes the recently introduced 'test_post_wo_access' test that does not pass without this fix. Note that the update of 'main_attachment_id' was already done in sudo. As all read or update access is now done in sudo, better call the whole method as sudo in 'message_post' and let '_message_set_main_attachment_id' works on the given record set environment. Task-3213982 (Mail: fix 'multi-company' post support) X-original-commit: odoo/odoo@0375bb227a Part-of: odoo/odoo#114511
…
…
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%