Browse Source

Merge 80cd376d2e into 0aa3d6c1ae

pull/679/merge
Lorenzo Battistini 3 years ago
committed by GitHub
parent
commit
3535c18e65
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      account_financial_report/report/general_ledger.py

5
account_financial_report/report/general_ledger.py

@ -330,6 +330,11 @@ class GeneralLedgerReportCompute(models.TransientModel):
sub_subquery_sum_amounts += """
AND at.include_initial_balance = TRUE
"""
if self.filter_journal_ids:
sub_subquery_sum_amounts += """
AND
ml.journal_id IN %s
""" % (tuple(self.filter_journal_ids.ids,),)
if self.only_posted_moves:
sub_subquery_sum_amounts += """

Loading…
Cancel
Save