Commit 65191b07 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: only sale people can create Sale Supply

parent b2704881
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
</role> </role>
<role id='F-PRODUCTION*'> <role id='F-PRODUCTION*'>
<item>Auditor</item> <item>Auditor</item>
</role>
<role id='F-SALE*'>
<item>Auditor</item>
<item>Author</item> <item>Author</item>
</role> </role>
</local_roles> </local_roles>
......
...@@ -5,9 +5,14 @@ ...@@ -5,9 +5,14 @@
<multi_property id='category'>function/customer</multi_property> <multi_property id='category'>function/customer</multi_property>
<multi_property id='base_category'>function</multi_property> <multi_property id='base_category'>function</multi_property>
</role> </role>
<role id='Auditor; Author'> <role id='Auditor'>
<property id='title'>Production</property> <property id='title'>Production</property>
<multi_property id='category'>function/production*</multi_property> <multi_property id='category'>function/production*</multi_property>
<multi_property id='base_category'>function</multi_property> <multi_property id='base_category'>function</multi_property>
</role> </role>
<role id='Auditor; Author'>
<property id='title'>Sale</property>
<multi_property id='category'>function/sale*</multi_property>
<multi_property id='base_category'>function</multi_property>
</role>
</type_roles> </type_roles>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment