Skip to content

Commit

Permalink
base_usability: add currency_id in res.company tree view
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed Sep 23, 2022
1 parent 3259a66 commit 23222e9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions base_usability/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
'views/res_partner.xml',
'views/res_partner_bank.xml',
'views/res_country.xml',
'views/res_company.xml',
'views/ir_module.xml',
'views/ir_sequence.xml',
'views/ir_property.xml',
Expand Down
20 changes: 20 additions & 0 deletions base_usability/views/res_company.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2022 Akretion France (http://www.akretion.com/)
@author: Alexis de Lattre <[email protected]>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->

<odoo>

<record id="view_company_tree" model="ir.ui.view">
<field name="model">res.company</field>
<field name="inherit_id" ref="base.view_company_tree"/>
<field name="arch" type="xml">
<field name="name" position="after">
<field name="currency_id" optional="show" groups="base.group_multi_currency"/>
</field>
</field>
</record>

</odoo>

0 comments on commit 23222e9

Please sign in to comment.