Browse Source

[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/744/head
Pedro M. Baeza 6 years ago
committed by Tom Blauwendraat
parent
commit
525fba9de1
  1. 2
      account_financial_report/static/description/index.html
  2. 2
      account_financial_report/tests/test_trial_balance.py

2
account_financial_report/static/description/index.html

@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.14: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
<title>Account Financial Reports</title>
<style type="text/css">

2
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

Loading…
Cancel
Save