d0f4043e8dd77c2c6369363791cab34ab11ba947
If a private article is shared with someone which is granted 'read' access, that someone could not post messages in the chatter. This commit adds _mail_post_access = 'read' to the model in order to allow someone with read access to post chatter messages. Before this change, mail_post_autofollow was always activated with "send message" in the chatter, and it could cause errors in the following case: - A user has read access on a record whose model has _mail_post_access = 'read' enabled. This means that he can post messages even if he can not edit the record. - If the user sends a message while mentioning someone, if mail_post_autofollow is enabled, the server will try to subscribe the recipient to the thread even though the sender only has read access to the record, which results in an error. After this change, the chatter will enable mail_post_autofollow only if the user has write access on the thread. Task-2858428 X-original-commit: 0c628d63b2d1b64c88c0e72513fad417070569d9 Part-of: odoo/odoo#93088
…
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%