Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
69
account_usability/security/res_groups.xml
Executable file
69
account_usability/security/res_groups.xml
Executable file
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--
|
||||
Copyright (C) 2022-Today GRAP (http://www.grap.coop)
|
||||
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
-->
|
||||
<odoo>
|
||||
<!-- Change groups to fit with EE configuration
|
||||
Note: The inheritance mechanism is :
|
||||
group_account_readonly ⬂
|
||||
group_account_invoice ⇨ group_account_user ⇨ group_account_manager
|
||||
-->
|
||||
|
||||
<!-- Level 1:
|
||||
Name: Show Accounting Features - Readonly -> Read-only
|
||||
Parent:
|
||||
Before: Technical (base.module_category_hidden)
|
||||
After: Accounting (base.module_category_accounting_accounting)
|
||||
Implied Groups:
|
||||
Before: base.group_user
|
||||
No Change.
|
||||
-->
|
||||
|
||||
<record id="account.group_account_readonly" model="res.groups">
|
||||
<field name="name">Read-only</field>
|
||||
<field name="category_id" ref="base.module_category_accounting_accounting" />
|
||||
</record>
|
||||
|
||||
<!-- Level 2: account.group_account_invoice
|
||||
Name: Billing
|
||||
This group is not modified by this module.
|
||||
Parent:
|
||||
Before: Accounting (base.module_category_accounting_accounting)
|
||||
No Change.
|
||||
Implied Groups:
|
||||
Before: base.group_user
|
||||
No Change.
|
||||
-->
|
||||
|
||||
<!-- Level 3:
|
||||
Name: Show Full Accounting Features -> Bookkeeper
|
||||
Parent:
|
||||
Before: Technical (base.module_category_hidden)
|
||||
After: Accounting (base.module_category_accounting_accounting)
|
||||
Implied Groups:
|
||||
Before: account.group_account_invoice + account.group_account_readonly
|
||||
No Change.
|
||||
-->
|
||||
<record id="account.group_account_user" model="res.groups">
|
||||
<field name="name">Bookkeeper</field>
|
||||
<field name="category_id" ref="base.module_category_accounting_accounting" />
|
||||
</record>
|
||||
|
||||
<!-- Level 4:
|
||||
Name: Billing Administrator -> Accountant
|
||||
Implied Groups :
|
||||
Before: account.group_account_invoice + base.group_private_addresses
|
||||
After: account.group_account_user + base.group_private_addresses
|
||||
-->
|
||||
<record id="account.group_account_manager" model="res.groups">
|
||||
<field name="name">Accountant</field>
|
||||
<field
|
||||
name="implied_ids"
|
||||
eval="[
|
||||
(3, ref('account.group_account_invoice')),
|
||||
(4, ref('account.group_account_user'))]"
|
||||
/>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user