@ -201,7 +201,7 @@ WITH
query_inject_account += """
WHERE
a.company_id = %s
AND a.internal_type IN ('payable', 'receivable')
AND a.reconcile IS true
"""
if self.filter_account_ids:
@ -29,6 +29,7 @@ class OpenItemsReportWizard(models.TransientModel):
account_ids = fields.Many2many(
comodel_name='account.account',
string='Filter accounts',
domain=[('reconcile', '=', True)],
)
hide_account_balance_at_0 = fields.Boolean(
string='Hide account ending balance at 0',