Skip to content

Commit

Permalink
account_tax_balance: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tafaRU authored and ramiadavid committed Nov 11, 2022
1 parent 5cd930d commit 78e6237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions account_tax_balance/tests/test_account_tax_balance.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_tax_balance(self):
{
"name": "Tax Paid",
"code": "TAXTEST",
"account_type": "expense",
"account_type": "liability_current",
}
)
tax = self.env["account.tax"].create(
Expand Down Expand Up @@ -229,7 +229,7 @@ def test_tax_balance(self):
}
)
move.action_post()
tax.env.invalidate_all()
tax.invalidate_recordset()
self.assertEqual(tax.base_balance, 175.0)
self.assertEqual(tax.balance, 17.5)

Expand Down

0 comments on commit 78e6237

Please sign in to comment.