Browse Source

Update general_ledger.py

fix for issue:
https://github.com/OCA/account-financial-reporting/issues/532
pull/534/head
Omar Shatnawi 6 years ago
committed by GitHub
parent
commit
dd790c4fc9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      account_financial_report_qweb/report/general_ledger.py

6
account_financial_report_qweb/report/general_ledger.py

@ -553,10 +553,8 @@ WHERE
)
"""
if self.hide_account_at_0:
query_inject_account += """
AND
f.balance IS NOT NULL AND f.balance != 0
"""
query_inject_account += """ AND (f.balance IS NOT NULL AND f.balance != 0) OR
(i.balance IS NOT NULL AND i.balance != 0) """
query_inject_account_params = ()
if self.filter_cost_center_ids:
query_inject_account_params += (

Loading…
Cancel
Save