-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TA#66895 [MIG] account_show_full_features (#185)
* [16.0][MIG] account_show_full_features --------- Co-authored-by: Majda EL MARIOULI <majdaelmariouli@gmail.com>
- Loading branch information
1 parent
4739938
commit 1e04673
Showing
13 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Account Show Full Features | ||
========================== | ||
This module shows the accounting menus hidden in Odoo community. | ||
|
||
Before | ||
~~~~~~ | ||
Only 2 groups are available for the ``Invoicing`` application. | ||
|
||
.. image:: static/description/groups_before.png | ||
|
||
The full accounting features are hidden to the group ``Billing Manager``. | ||
|
||
.. image:: static/description/menus_before.png | ||
|
||
After | ||
~~~~~ | ||
The group ``Accountant`` is added to the available groups. | ||
|
||
The group ``Billing Manager`` is renamed ``Manager``. | ||
|
||
.. image:: static/description/groups_after.png | ||
|
||
The full accounting features are available to the groups ``Accountant`` and ``Billing Manager``. | ||
|
||
.. image:: static/description/menus_after.png | ||
|
||
Contributors | ||
------------ | ||
* Numigi (tm) and all its contributors (https://bit.ly/numigiens) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Copyright 2024-today Numigi and all its contributors (https://bit.ly/numigiens) | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright 2024-today Numigi and all its contributors (https://bit.ly/numigiens) | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). | ||
|
||
{ | ||
'name': 'Show Full Accounting Features', | ||
'version': '1.0.0', | ||
'author': 'Numigi', | ||
'maintainer': 'Numigi', | ||
'website': 'https://www.numigi.com', | ||
'license': 'LGPL-3', | ||
'category': 'Accounting', | ||
'summary': 'Show the accounting features hidden in Odoo community', | ||
'depends': [ | ||
'account', | ||
], | ||
'data': [ | ||
'data/ir_ui_menu.xml', | ||
'data/res_groups.xml', | ||
], | ||
'installable': True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<data> | ||
|
||
|
||
<function model="ir.ui.menu" name="write"> | ||
<value eval="ref('account.menu_finance')"/> | ||
<value eval="{'name': 'Accounting'}"/> | ||
</function> | ||
|
||
|
||
|
||
<!-- Make the list of account.move.line available without debug mode --> | ||
<record id="account.menu_action_account_moves_all" model="ir.ui.menu"> | ||
<field name="groups_id" eval="[(5, 0)]"/> | ||
</record> | ||
|
||
</data> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<data> | ||
|
||
<record id="account.group_account_user" model="res.groups"> | ||
<field name="category_id" ref="base.module_category_accounting_accounting"/> | ||
<field name="implied_ids" eval="[(4, ref('account.group_account_invoice'))]"/> | ||
</record> | ||
|
||
<record id="account.group_account_manager" model="res.groups"> | ||
<field name="implied_ids" eval="[(4, ref('account.group_account_user'))]"/> | ||
</record> | ||
|
||
|
||
<function model="res.groups" name="write"> | ||
<value eval="ref('account.group_account_user')"/> | ||
<value eval="{'name': 'Accountant'}"/> | ||
</function> | ||
|
||
<function model="res.groups" name="write"> | ||
<value eval="ref('account.group_account_manager')"/> | ||
<value eval="{'name': 'Manager'}"/> | ||
</function> | ||
|
||
|
||
</data> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * account | ||
# | ||
|
||
#. module: account_show_full_features | ||
#: model:ir.ui.menu,name:account.menu_finance | ||
msgid "Invoicing" | ||
msgstr "Comptabilité" | ||
|
||
|
||
#. module: account_show_full_features | ||
#: model:res.groups,name:account.group_account_manager | ||
msgid "Billing Administrator" | ||
msgstr "Gestionnaire" | ||
|
||
|
||
#. module: account_show_full_features | ||
#: model:res.groups,name:account.group_account_user | ||
msgid "Billing" | ||
msgstr "Comptable" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.