Omar Shatnawi
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
4 deletions
-
account_financial_report_qweb/report/general_ledger.py
|
@ -558,10 +558,8 @@ WHERE |
|
|
) |
|
|
) |
|
|
""" |
|
|
""" |
|
|
if self.hide_account_at_0: |
|
|
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 = () |
|
|
query_inject_account_params = () |
|
|
if self.filter_cost_center_ids: |
|
|
if self.filter_cost_center_ids: |
|
|
query_inject_account_params += ( |
|
|
query_inject_account_params += ( |
|
|