Browse Source

Merge PR #743 into 12.0

Signed-off-by sergiocorato
pull/790/head
OCA-git-bot 4 years ago
parent
commit
1e85a0f9e6
  1. 4
      account_financial_report/report/general_ledger.py

4
account_financial_report/report/general_ledger.py

@ -338,8 +338,8 @@ class GeneralLedgerReportCompute(models.TransientModel):
if self.filter_journal_ids:
sub_subquery_sum_amounts += """
AND
ml.journal_id IN %s
""" % (tuple(self.filter_journal_ids.ids,),)
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