Skip to content

Commit

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

fix: payment request rounding in multi-currency and on status update (backport #37123)
  • Loading branch information
ruthra-kumar authored Oct 10, 2023
2 parents 14ddcd6 + eed5863 commit 97f9656
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def create_payment_entry(self, submit=True):
if (
party_account_currency == ref_doc.company_currency and party_account_currency != self.currency
):
party_amount = ref_doc.base_grand_total
party_amount = ref_doc.get("base_rounded_total") or ref_doc.get("base_grand_total")
else:
party_amount = self.grand_total

Expand Down

0 comments on commit 97f9656

Please sign in to comment.