Skip to content

Commit

Permalink
[MIG] account_invoice_show_currency_rate: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ACheung-FactorLibre committed Aug 3, 2023
1 parent 544d5e8 commit ee2f4ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion account_invoice_show_currency_rate/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Account Invoice Show Currency Rate",
"summary": "Show currency rate in invoices.",
"version": "13.0.1.0.2",
"version": "16.0.1.0.0",
"category": "Accounting & Finance",
"website": "https://github.com/OCA/account-invoicing",
"author": "Tecnativa, Odoo Community Association (OCA)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<field name="currency_id" position="before">
<xpath expr="//div[@name='journal_div']" position="after">
<field name="show_currency_rate_amount" invisible="1" />
<field
name="currency_rate_amount"
groups="base.group_multi_currency"
digits="[12,12]"
attrs="{'invisible':[('show_currency_rate_amount', '=', False)]}"
/>
</field>
</xpath>
</field>
</record>
</odoo>

0 comments on commit ee2f4ae

Please sign in to comment.