mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-13 22:51:49 +00:00
fix: prevent exchange rate flow from transaction to payment
(cherry picked from commit 934abe5c6d)
This commit is contained in:
@@ -3034,7 +3034,7 @@ def get_payment_entry(
|
|||||||
pe, doc, discount_amount, base_total_discount_loss, party_account_currency
|
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()
|
pe.set_amounts()
|
||||||
|
|
||||||
# If PE is created from PR directly, then no need to find open PRs for the references
|
# If PE is created from PR directly, then no need to find open PRs for the references
|
||||||
|
|||||||
Reference in New Issue
Block a user