From bd7d1365cc9c25cb15e0937e03cd035b34e4eff4 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Mon, 3 Jun 2019 18:53:14 +0200 Subject: [PATCH] [FIX] account_financial_report: Don't fail with installed l10n The number of computed account can be greater in certain databases with l10n modules. --- account_financial_report/tests/test_trial_balance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_financial_report/tests/test_trial_balance.py b/account_financial_report/tests/test_trial_balance.py index a06e57b0..9af5a41e 100644 --- a/account_financial_report/tests/test_trial_balance.py +++ b/account_financial_report/tests/test_trial_balance.py @@ -329,7 +329,7 @@ class TestTrialBalanceReport(common.TransactionCase): self.assertEqual(lines['group2'].debit, 2000) self.assertEqual(lines['group2'].credit, 0) self.assertEqual(lines['group2'].final_balance, 2000) - self.assertEqual(len(lines['group2'].compute_account_ids), 9) + self.assertGreaterEqual(len(lines['group2'].compute_account_ids), 9) def test_02_account_balance_hierarchy(self): # Generate the general ledger line