Skip to content

Commit

Permalink
[IMP] base_edi: introduce a basic edi user group
Browse files Browse the repository at this point in the history
  • Loading branch information
duongtq authored and JordiMForgeFlow committed Dec 3, 2024
1 parent 48cdc77 commit 9b088c2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions base_edi/security/edi_groups.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="group_edi_user" model="res.groups">
<field name="name">EDI User</field>
<field name="category_id" ref="module_category_edi" />
<field
name="users"
eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"
/>
<field name="implied_ids" eval="[(4, ref('base.group_user'))]" />
</record>

<record id="group_edi_manager" model="res.groups">
<field name="name">EDI Manager</field>
<field name="category_id" ref="module_category_edi" />
<field
name="users"
eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"
/>
<field name="implied_ids" eval="[(4, ref('base_edi.group_edi_user'))]" />
</record>
</odoo>

0 comments on commit 9b088c2

Please sign in to comment.