From e09f101336c9c111b196f11cf70d722aa7a6442f Mon Sep 17 00:00:00 2001 From: vishakhdesai Date: Thu, 14 Nov 2024 17:31:34 +0530 Subject: [PATCH] fix: set conversion factor before applying price list (cherry picked from commit 9749fe23cc82181f1fb58aa481b0c3c7d633699e) --- erpnext/public/js/controllers/transaction.js | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index c3ec62c34da..7e2d5e63ec3 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -1104,6 +1104,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe callback: function(r) { if(!r.exc) { frappe.model.set_value(cdt, cdn, 'conversion_factor', r.message.conversion_factor); + me.apply_price_list(item, true); } } });