Skip to content

Commit

Permalink
Merge pull request #43363 from frappe/mergify/bp/version-14-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 5ba9fb7 + 79f95ba commit c36b40a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,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 c36b40a

Please sign in to comment.