fix: prevent exchange rate flow from transaction to payment

This commit is contained in:
ervishnucs
2026-03-04 12:40:52 +05:30
committed by ruthra kumar
parent 2652082475
commit 934abe5c6d

View File

@@ -2780,7 +2780,7 @@ def get_payment_entry(
pe, doc, discount_amount, base_total_discount_loss, party_account_currency
)
pe.set_exchange_rate(ref_doc=doc)
pe.set_exchange_rate()
pe.set_amounts()
# If PE is created from PR directly, then no need to find open PRs for the references