From fbae3c7fd6b5b61c6e0038476a338e0f901f5d06 Mon Sep 17 00:00:00 2001 From: Frappe PR Bot Date: Tue, 28 Sep 2021 12:59:45 +0530 Subject: [PATCH] fix: apply price list after batch or serial no insertion (#27566) (#27683) (cherry picked from commit 72c081fd8fa3994d447944c58c5ea8cef0350a16) Co-authored-by: Alan <2.alan.tom@gmail.com> --- 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 d4f5cb85ceb..293a6bac2d8 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -617,6 +617,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({ me.frm.script_manager.trigger('qty', item.doctype, item.name); if (!me.frm.doc.set_warehouse) me.frm.script_manager.trigger('warehouse', item.doctype, item.name); + me.apply_price_list(item, true); }, undefined, !frappe.flags.hide_serial_batch_dialog); } },