Daily updates from Odoo
Thursday, March 5, 2026
1 change
Resolved issues and error corrections
This update resolves a critical issue where a user's inbox could crash when accessing multiple companies. The fix addresses a permissions problem related to partner access, preventing a scenario where a user's inbox became inaccessible after interacting with a partner in a different company. This ensures stable inbox functionality across all company setups.
Original PR description
### Issue: Due to this bug, user's inbox can crash and become inaccessible by another user. #### Steps to reproduce: 1- Create a db with two companies and sale installed with demo data. 2- Demo user…
### Issue: Due to this bug, user's inbox can crash and become inaccessible by another user. #### Steps to reproduce: 1- Create a db with two companies and sale installed with demo data. 2- Demo user should only have access to company A 3- Demo user preference should be handle in Odoo 4- Admin should access both companies 5- Create a partner called partner_b with company set to company B 6- Using admin create a SO in company B, with the partner_b 7- Send a message (not internal note) in SO chatter, and mention Demo user 8- Login using Demo user 9- Open discuss app. As you see the inbox is not accessible anymore. ### Cause: This is caused because Demo user doesn't have read access to partner_b, as a result `partner_share` cannot be accessed in `_filter_unimportant_notifications`: https://github.com/odoo/odoo/blob/7a02ae3c220dc53ed541f5a1ec88abcd49c3baeb/addons/mail/models/mail_notification.py#L112-L117 opw-5089738 Forward-Port-Of: odoo/odoo#245704 Forward-Port-Of: odoo/odoo#232894