diff --git a/sale_commission_agent_restrict/README.rst b/sale_commission_agent_restrict/README.rst
index 35c054c17..861427999 100644
--- a/sale_commission_agent_restrict/README.rst
+++ b/sale_commission_agent_restrict/README.rst
@@ -7,7 +7,7 @@ Sales Commissions Agent Restrict
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !! source digest: sha256:7ba0a3cdf3b0acd952dae9162fdb8a6f3ab06460bd27444574ad643043e05bc6
+ !! source digest: sha256:89ae4bba67d4fa31952493bf3b81eefa1e45523b0209c6a52e87d22a1eb9662e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -31,6 +31,10 @@ Sales Commissions Agent Restrict
This module provides access groups and rules to restrict access of agent user
to contacts and sales.
+If installing with demo data, the module also provides a user to ease testing
+from the point of view of the agent. You can log in using username `agent`
+and password `agent`.
+
**Table of contents**
.. contents::
diff --git a/sale_commission_agent_restrict/__manifest__.py b/sale_commission_agent_restrict/__manifest__.py
index 2e46624bb..0480ecbf8 100644
--- a/sale_commission_agent_restrict/__manifest__.py
+++ b/sale_commission_agent_restrict/__manifest__.py
@@ -18,5 +18,8 @@
"views/res_partner_views.xml",
"views/sale_order_view.xml",
],
+ "demo": [
+ "demo/res_users_demo.xml",
+ ],
"installable": True,
}
diff --git a/sale_commission_agent_restrict/demo/res_users_demo.xml b/sale_commission_agent_restrict/demo/res_users_demo.xml
new file mode 100644
index 000000000..67ada32f2
--- /dev/null
+++ b/sale_commission_agent_restrict/demo/res_users_demo.xml
@@ -0,0 +1,31 @@
+
+
This module provides access groups and rules to restrict access of agent user to contacts and sales.
+If installing with demo data, the module also provides a user to ease testing +from the point of view of the agent. You can log in using username agent +and password agent.
Table of contents