Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX][i18N] account_show_full_features : translation and menu security #208

Open
wants to merge 2 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion account_show_full_features/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
'name': 'Show Full Accounting Features',
'version': '1.0.0',
'version': '1.0.1',
'author': 'Numigi',
'maintainer': 'Numigi',
'website': 'https://www.numigi.com',
Expand Down
9 changes: 5 additions & 4 deletions account_show_full_features/data/ir_ui_menu.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
<?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>

<!-- Add to menu Accounting/Accounting the new renamed group Accountant -->
<record id="account.menu_finance_entries" model="ir.ui.menu">
<field eval="[(4, ref('account.group_account_user'))]" name="groups_id"/>
</record>

</data>
23 changes: 19 additions & 4 deletions account_show_full_features/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -1,21 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-30 12:07+0000\n"
"PO-Revision-Date: 2024-07-30 12:07+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: account
#: model:res.groups,name:account.group_account_user
msgid "Accountant"
msgstr "Comptable"

#. 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"
msgstr "Comptable"

Loading