This module is mandatory when using the role_policy app in combination with the Odoo standard addons Sale module.
auto_awesome What this module does
AI-generated from the code · Odoo 13.0Adds role-based access control to product sales counts, hiding the sold quantity from users who cannot read sales reports.
This module connects the role policy access-control app with the standard Sales app. It changes how the "Sold" quantity shown on a product is calculated, so that it respects the user's permissions.
- When Odoo computes how many units of a product have been sold, the module first checks whether the current user belongs to a group that is allowed to read sales report data (
sale.report). - If the user is not in such a group, the sold quantity is simply set to zero instead of being calculated.
- If the user does have the required access, the normal Odoo calculation runs as usual.
This means users without sales-report access will see a sold quantity of 0 on products, while authorised users see the real figures. The module installs automatically when both the role policy and Sales apps are present, and it only touches the product.product model. No new menus, screens, buttons, or reports are added.
Depends on
Models and fields (1)
- product.product · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 13.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 13.0
Confirmed on 2026-11-03 in branch 13.0 of OCA/role-policy.
terminal Installation and usage
OCA documentation · Odoo 13.0Configuration
Source · Odoo 13.0You will find a demonstration about how to configure and use this module in this screencast.
No verified information in OCA: Installation, Usage.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.