@ -4,7 +4,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': 'Account Financial Reports',
'version': '12.0.1.4.1',
'version': '12.0.1.4.2',
'category': 'Reporting',
'summary': 'OCA Financial Reports',
'author': 'Camptocamp SA,'
@ -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: