[IMP] base_global_discount: add specific security group

This way, it will be easier to decide who can set discount or not. The
current group scope is too broad.
This commit is contained in:
david
2020-12-11 16:38:12 +01:00
parent ec3123c72b
commit ca68d56219
9 changed files with 43 additions and 8 deletions

View File

@@ -12,5 +12,8 @@
<field name="perm_write" eval="1"/>
<field name="perm_unlink" eval="1"/>
</record>
<record id="group_global_discount" model="res.groups">
<field name="name">Manage Global Discounts</field>
<field name="category_id" ref="base.module_category_hidden"/>
</record>
</odoo>