OdooWiki OCA HUB

Role Policy Demo

role_policy_demo folder_open OCA/role-policy open_in_new
Tools License: AGPL-3

This module adds demo data to demonstrate the use of the Role Policy module.

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Installs sample roles, users and screen rules so you can try out the Role Policy module. It creates a 'Data Maintenance' role with access to Contacts and a 'Chief Security Officer' role, plus demo users dm and cso.

This is a demonstration module: it does not add new screens of its own, it fills the Role Policy module with example data so you can see how roles, users and screen rules work together.

What it creates: - A role 'Data Maintenance' (code DM) that is allowed to read, create, change and delete contacts and contact tags/categories, and that can see the Contacts menu, the Contacts configuration menu, the contact category screen and the 'Merge Contacts' action. - A role 'Chief Security Officer' (code CSO) with no access rights attached in this demo. - Two demo users, 'dm' and 'cso', each linked to a contact of the same name in the main company. User dm has both roles, user cso only has the CSO role.

It also adds example screen rules for the contact form: - For the DM role, the Tax ID field becomes mandatory when the contact is a company, and the Country field becomes mandatory. - For the CSO role, the Tax ID field is explicitly not mandatory.

All of this is loaded as non-updatable demo data, so it is installed once and is meant for testing and training, not for production use. It touches the contact and user records and the role policy configuration screens.

Depends on

role_policycontacts

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation 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.0

You will find a demonstration about how to configure and use this module in this screencast.

No verified information in OCA: Installation, Usage.

info

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.