[ADD] base_exception_user,sale_exception_user,stock_exception: allow certain users to ignore exceptions, add exceptions on delivery orders

This commit is contained in:
Cedric Collins
2021-09-17 15:23:06 -05:00
parent 1ee5b14ebb
commit 5274bf786f
9 changed files with 128 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="group_exception_rule_user" model="res.groups">
<field name="name">Exception user</field>
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
</record>
<record id="base_exception.group_exception_rule_manager" model="res.groups">
<field name="implied_ids" eval="[(4, ref('base_exception_user.group_exception_rule_user'))]"/>
</record>
</odoo>