Skip to content

Commit

Permalink
Merge pull request #43364 from frappe/mergify/bp/version-15-hotfix/pr…
Browse files Browse the repository at this point in the history
…-43356

fix: AR / AP report to ignore 0.0 outstanding (backport #43356)
  • Loading branch information
ruthra-kumar authored Sep 24, 2024
2 parents 49d5b7c + 979d801 commit b17a811
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ def build_data(self):

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:
Expand Down

0 comments on commit b17a811

Please sign in to comment.