Browse Source

Merge PR #781 into 13.0

Signed-off-by pedrobaeza
pull/788/head
OCA-git-bot 4 years ago
parent
commit
88c03f03cb
  1. 7
      account_financial_report/tests/test_trial_balance.py

7
account_financial_report/tests/test_trial_balance.py

@ -240,6 +240,13 @@ class TestTrialBalanceReport(common.TransactionCase):
self.assertTrue(self.account200 in self.group2.compute_account_ids)
def test_01_account_balance_computed(self):
# Change code of the P&L for not being automatically included
# in group 1 balances
earning_accs = self.env["account.account"].search(
[("user_type_id", "=", self.env.ref("account.data_unaffected_earnings").id)]
)
for acc in earning_accs:
acc.code = "999" + acc.code
# Generate the general ledger line
res_data = self._get_report_lines()
trial_balance = res_data["trial_balance"]

Loading…
Cancel
Save