changeset 4e6eb11ec091 in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset;node=4e6eb11ec091
description:
Add parent to group to inherit accesses
issue10032
review320661002
diffstat:
stock.xml | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 96e12f79222b -r 4e6eb11ec091 stock.xml
--- a/stock.xml Sun Mar 07 11:13:53 2021 +0100
+++ b/stock.xml Sun Mar 07 12:43:09 2021 +0100
@@ -3,14 +3,16 @@
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
- <record model="res.group" id="group_stock_admin">
- <field name="name">Stock Administration</field>
- </record>
<record model="res.group" id="group_stock">
<field name="name">Stock</field>
</record>
+ <record model="res.group" id="group_stock_admin">
+ <field name="name">Stock Administration</field>
+ <field name="parent" ref="group_stock"/>
+ </record>
<record model="res.group" id="group_stock_force_assignment">
<field name="name">Stock Force Assignment</field>
+ <field name="parent" ref="group_stock"/>
</record>
<record model="res.user-res.group"
id="user_admin_group_stock_admin">