Skip to content

Commit

Permalink
Merge branch '16.0' into TA#66667
Browse files Browse the repository at this point in the history
  • Loading branch information
majouda authored Aug 27, 2024
2 parents 3add2ef + 41564de commit 7e4f804
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 9 deletions.
8 changes: 8 additions & 0 deletions account_show_full_features/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ The full accounting features are hidden to the group ``Billing Manager``.

.. image:: static/description/menus_before.png

The menu ``Accounting/Accounting`` is dedicated to the group ``Show Accounting Features - Readonly``.

.. image:: static/description/access_menu_before.png

After
~~~~~
The group ``Accountant`` is added to the available groups.
Expand All @@ -24,6 +28,10 @@ The full accounting features are available to the groups ``Accountant`` and ``Bi

.. image:: static/description/menus_after.png

The menu ``Accounting/Accounting`` has been moved to the group ``Accountant``.

.. image:: static/description/access_menu_after.png

Contributors
------------
* Numigi (tm) and all its contributors (https://bit.ly/numigiens)
15 changes: 7 additions & 8 deletions account_show_full_features/data/ir_ui_menu.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
<?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'}"/>
<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)]"/>
<field name="groups_id" eval="[(5, 0)]" />
</record>

</data>
<record id="account.menu_finance_entries" model="ir.ui.menu">
<field name="groups_id" eval="[(6, 0, [ref('account.group_account_user')])]" />
</record>
</data>
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.
2 changes: 1 addition & 1 deletion canada_account_types/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"


#. module: canada_account_types
#: model:ir.model.fields.selection,name:canada_account_types.selection__account_account__account_type__expense_interest
#: model:ir.model.fields.selection,name:canada_account_types.selection__account_account_template__account_type__expense_interest
Expand All @@ -33,3 +32,4 @@ msgstr "Charges ponctuelles"
#: model:ir.model.fields.selection,name:canada_account_types.selection__account_account_template__account_type__expense_tax
msgid "Tax Expenses"
msgstr "Charges d'impôts"

13 changes: 13 additions & 0 deletions canada_account_types/views/account_account_views.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_account_form" model="ir.ui.view">
<field name="name">account.type.widget.form</field>
<field name="model">account.account</field>
<field name="inherit_id" ref="account.view_account_form" />
<field name="arch" type="xml">
<field name="account_type" position="replace">
<field name="account_type" />
</field>
</field>
</record>
</odoo>

0 comments on commit 7e4f804

Please sign in to comment.