Daily updates from Odoo
Wednesday, April 2, 2025
3 changes
2 changes
Code cleanup and technical improvements
Customer access to sales, purchase, and accounting documents is now based on the actual customer or commercial entity linked to the document instead of follower status. This reduces unintended sharing through followers and aligns document access with explicit customer relationships and secure sharing links.
Original PR description
Since recently [1] customers are found using default or suggested recipients for communications. Both chatter and templates proposes them by default. Followers should now be mostly be internal users that want to receive news from a record while customers should be actively displayed and chosen. In this commit we change customer ACL of move / SO / PO from being based on followers to being based on 'partner_id' field. This removes some use cases like adding followers to share the document. However sharing links with specific tokens should be the way to go. Continuation of external followers removal, already started at [2]. [1] See odoo/odoo#201514 [2] See odoo/odoo#185240
Odoo Studio now uses the standard mixed checkbox state instead of a custom visual workaround. This keeps the interface behavior easier to maintain while preserving the same user experience for configuring view rules.
Original PR description
This commit takes advantage of the "indeterminate" state of the CheckBox component (cf. `input[type=checkbox]:indeterminate`) instead of emulating it with classes.
1 change
Code cleanup and technical improvements
This draft pull request appears to be an internal code restructuring effort, but no file or commit details were provided. Based on the title, it is unlikely to introduce direct business-facing changes at this stage.