From a6c5738f4bf08f35a3639a4831f02c583b56bc9d Mon Sep 17 00:00:00 2001 From: Sugesh G <73237300+Sugesh393@users.noreply.github.com> Date: Wed, 29 Jan 2025 12:35:45 +0530 Subject: [PATCH] fix: use currency from opportunity while creating quotation (#45540) (cherry picked from commit d748b491ee2bbb2967175f58e1b04f5c2eda4722) --- erpnext/public/js/controllers/transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index b6f008f9664..bb0c69b3a94 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -914,7 +914,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe } var get_party_currency = function() { - if (me.is_a_mapped_document()) { + if (me.is_a_mapped_document() || me.frm.doc.__onload?.load_after_mapping) { return; }