2
0

[FIX] account_usability: make account.group_account_manager depends on 'account.group_account_user' (and not 'account.group_account_invoice') to stick with EE design.

[IMP] Documentation, adding detailled changes regarding groups in the DEVELOP.rst section.
This commit is contained in:
Sylvain LE GAL 2023-01-19 16:40:52 +01:00
parent fe86277ea2
commit 3fabcd1a0a
4 changed files with 79 additions and 18 deletions

View File

@ -1,6 +0,0 @@
To see all the menus, make sure:
* Your user is member of the group
"Technical Settings / Show Full Accounting Features"
* The page is running in debug mode

View File

@ -0,0 +1,58 @@
**Detailled Module Category Changes (ir.module.category)**
- base.module_category_accounting_accounting
*CE Without that module*
-> Complete Name : Invoicing
*CE With that module / EE*
-> Complete Name: **Accounting**
**Detailled Groups Changes (res.groups)**
- account.group_account_invoice
*CE Without that module*
-> Complete Name : Invoicing / Billing
-> Parent Category : base.module_category_accounting_accounting
-> Implies : base.group_user
*CE With that module / EE*
-> Complete Name: **Accounting** / Billing
- account.group_account_readonly
*CE Without that module*
-> Complete Name : Technical / Show Accounting Features - Readonly
-> Parent : base.module_category_hidden
-> Implies : base.group_user
*CE With that module / EE*
-> name: **Accounting / Read-only**
-> Parent Category: **base.module_category_accounting_accounting**
- account.group_account_user
*CE Without that module*
-> Complete Name : Technical / Show Full Accounting Features
-> Parent : base.module_category_hidden
-> Implies : account.group_account_invoice, account.group_account_readonly
*CE With that module / EE*
-> name: **Accounting / Bookkeeper**
-> Parent Category: **base.module_category_accounting_accounting**
- account.group_account_manager
*CE Without that module*
-> Complete Name : Invoicing / Billing Administrator
-> Parent : base.module_category_accounting_accounting
-> Implies : account.group_account_invoice
*CE With that module / EE*
-> name: **Accounting / Accountant**
-> Implies : **account.group_account_user**

View File

@ -1,2 +1 @@
* Add a form view for the model ``account.bank.statement`` as Odoo SA privatized in EE the form view * Add a form view for the model ``account.bank.statement`` as Odoo SA privatized in EE the form view in V16.0.
in V16.0.

View File

@ -5,27 +5,37 @@
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
--> -->
<odoo> <odoo>
<!-- Rename groups to fit with EE naming <!-- Change groups to fit with EE configuration -->
Previously named 'Show Accounting Features Readonly' in CE ->
--> <!-- Level 2:
Name: Show Accounting Features - Readonly -> Read-only
Parent: Technical -> Accounting
-->
<record id="account.group_account_readonly" model="res.groups"> <record id="account.group_account_readonly" model="res.groups">
<field name="name">Read-only</field> <field name="name">Read-only</field>
<field name="category_id" ref="base.module_category_accounting_accounting" /> <field name="category_id" ref="base.module_category_accounting_accounting" />
</record> </record>
<!-- Rename groups to fit with EE naming <!-- Level 3:
Previously named 'Show Full Accounting Features' in CE -> Name: Show Full Accounting Features -> Bookkeeper
--> Parent: Technical -> Accounting
-->
<record id="account.group_account_user" model="res.groups"> <record id="account.group_account_user" model="res.groups">
<field name="name">Bookkeeper</field> <field name="name">Bookkeeper</field>
<field name="category_id" ref="base.module_category_accounting_accounting" /> <field name="category_id" ref="base.module_category_accounting_accounting" />
</record> </record>
<!-- Rename groups to fit with EE naming <!-- Level 4:
Previously named 'Billing Administrator' in CE -> Name: Billing Administrator -> Accountant
--> Implied Groups : account.group_account_invoice -> account.group_account_user
-->
<record id="account.group_account_manager" model="res.groups"> <record id="account.group_account_manager" model="res.groups">
<field name="name">Accountant</field> <field name="name">Accountant</field>
<field name="category_id" ref="base.module_category_accounting_accounting" /> <field
name="implied_ids"
eval="[(6, 0, [ref('account.group_account_user')])]"
/>
</record> </record>
</odoo> </odoo>