Browse Source

Merge pull request #326 from akretion/10-financial_report_qweb-open_items-all_accounts

[10.0] account_financial_report_qweb: all accounts allowed in Open Items report
pull/327/merge
Pedro M. Baeza 7 years ago
committed by GitHub
parent
commit
dc70e3a6bd
  1. 4
      account_financial_report_qweb/report/open_items.py
  2. 1
      account_financial_report_qweb/wizard/open_items_wizard.py

4
account_financial_report_qweb/report/open_items.py

@ -201,8 +201,8 @@ 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:
query_inject_account += """
AND

1
account_financial_report_qweb/wizard/open_items_wizard.py

@ -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',

Loading…
Cancel
Save