Skip to content

Commit

Permalink
fix: payment request rounding in multi-currency and on status update
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Sep 17, 2023
1 parent 5e21e7c commit 096caee
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 = flt(ref_doc.base_rounded_total) or flt(ref_doc.base_grand_total)
else:
party_amount = self.grand_total

Expand Down

0 comments on commit 096caee

Please sign in to comment.