Browse Source

Merge PR #677 into 10.0

Signed-off-by dreispt
pull/784/head
OCA-git-bot 4 years ago
parent
commit
3d3fe84e36
  1. 5
      account_financial_report_qweb/report/general_ledger.py

5
account_financial_report_qweb/report/general_ledger.py

@ -328,6 +328,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)
""" % ', '.join(map(str, self.filter_journal_ids.ids))
if self.only_posted_moves:
sub_subquery_sum_amounts += """

Loading…
Cancel
Save