Tower: upload at_accounting 18.0.1.7 (via marketplace)
This commit is contained in:
39
addons/at_accounting/security/accounting_security.xml
Normal file
39
addons/at_accounting/security/accounting_security.xml
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
<record id="base.user_root" model="res.users">
|
||||||
|
<field name="groups_id" eval="[(4, ref('account.group_account_user'))]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="base.user_admin" model="res.users">
|
||||||
|
<field name="groups_id" eval="[(4, ref('account.group_account_user'))]"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<!-- To change the categoy name from Invoicing -> Accounting-->
|
||||||
|
<record model="ir.module.category" id="base.module_category_accounting_accounting">
|
||||||
|
<field name="name">Accounting</field>
|
||||||
|
<field name="description">Helps you handle your invoices and accounting actions.
|
||||||
|
|
||||||
|
Invoicing: Invoices, payments and basic invoice reporting.
|
||||||
|
Invoicing & Banks: adds the accounting dashboard, bank management and follow-up reports.
|
||||||
|
Bookkeeper: access to all Accounting features, including reporting, asset management, analytic accounting, without configuration rights.
|
||||||
|
Administrator: full access including configuration rights and accounting data management.
|
||||||
|
Readonly: access to all the accounting data but in readonly mode, no actions allowed.
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<record id="account.group_account_manager" model="res.groups">
|
||||||
|
<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