fix: AR / AP report to ignore 0.0 outstanding

(cherry picked from commit 6e2cf79e2c)
This commit is contained in:
ruthra kumar
2024-09-24 12:13:43 +05:30
committed by Mergify
parent 5ba9fb73bb
commit 79f95ba507

View File

@@ -305,8 +305,8 @@ class ReceivablePayableReport:
must_consider = False
if self.filters.get("for_revaluation_journals"):
if (abs(row.outstanding) >= 0.0 / 10**self.currency_precision) or (
abs(row.outstanding_in_account_currency) >= 0.0 / 10**self.currency_precision
if (abs(row.outstanding) >= 1.0 / 10**self.currency_precision) or (
abs(row.outstanding_in_account_currency) >= 1.0 / 10**self.currency_precision
):
must_consider = True
else: