Browse Source

[IMP] account_financial_report_qweb: Don't fail with installed l10n

The number of computed accounts can be greater in certain databases with l10n modules.
pull/570/merge
Pedro M. Baeza 5 years ago
parent
commit
43cd557bde
  1. 4
      account_financial_report_qweb/tests/abstract_test.py

4
account_financial_report_qweb/tests/abstract_test.py

@ -269,8 +269,8 @@ class AbstractTest(common.TransactionCase):
report2 = self.model.create(current_filter)
report2.compute_data_for_report()
self.assertEqual(len(report2.account_ids), 1)
self.assertEqual(report2.account_ids.name,
self.assertGreaterEqual(len(report2.account_ids), 1)
self.assertEqual(report2.account_ids[0].name,
report.account_ids[0].name)
if self._partner_test_is_possible(filters):

Loading…
Cancel
Save