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
(cherry picked from commit 6e1ad4c)
  • Loading branch information
blaggacao authored and mergify[bot] committed Oct 10, 2023
1 parent 24852e4 commit eed5863
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 eed5863

Please sign in to comment.