[FIX] account_financial_report: Don't fail with installed l10n
The number of computed account can be greater in certain databases with l10n modules.pull/939/head
parent
a742aac6b9
commit
3eb2da3112
|
@ -329,7 +329,7 @@ class TestTrialBalanceReport(common.TransactionCase):
|
||||||
self.assertEqual(lines['group2'].debit, 2000)
|
self.assertEqual(lines['group2'].debit, 2000)
|
||||||
self.assertEqual(lines['group2'].credit, 0)
|
self.assertEqual(lines['group2'].credit, 0)
|
||||||
self.assertEqual(lines['group2'].final_balance, 2000)
|
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):
|
def test_02_account_balance_hierarchy(self):
|
||||||
# Generate the general ledger line
|
# Generate the general ledger line
|
||||||
|
|
Loading…
Reference in New Issue