Skip to content

Commit

Permalink
updating invisible atributes in view
Browse files Browse the repository at this point in the history
update manifest
replaced deprecated SavepointCase for TransactionCase
  • Loading branch information
jeer2234 committed Mar 20, 2024
1 parent b22c7c7 commit 19dcd63
Show file tree
Hide file tree
Showing 3 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": "16.0.1.0.1",
"version": "17.0.1.0.1",
"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 @@ -5,7 +5,7 @@
from odoo.tests import Form, common


class TestAccountMove(common.SavepointCase):
class TestAccountMove(common.TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
name="currency_rate_amount"
groups="base.group_multi_currency"
digits="[12,12]"
attrs="{'invisible':[('show_currency_rate_amount', '=', False)]}"
invisible="show_currency_rate_amount == False"
/>
</xpath>
</field>
Expand Down

0 comments on commit 19dcd63

Please sign in to comment.