From f68e85519cd0bd995e5b8f67f99b2e4d8647d8bf Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Fri, 15 Jan 2021 10:05:58 +0530 Subject: [PATCH] Revert "fix: Price not getting set for first row" This reverts commit 92ed11ad162df90353b3285d98cec502dd0ca96a. --- erpnext/public/js/utils/serial_no_batch_selector.js | 1 - 1 file changed, 1 deletion(-) diff --git a/erpnext/public/js/utils/serial_no_batch_selector.js b/erpnext/public/js/utils/serial_no_batch_selector.js index 74e832482df..cd2f9509e5b 100644 --- a/erpnext/public/js/utils/serial_no_batch_selector.js +++ b/erpnext/public/js/utils/serial_no_batch_selector.js @@ -223,7 +223,6 @@ erpnext.SerialNoBatchSelector = Class.extend({ frappe.model.set_value(row.doctype, row.name, 'batch_no', batch_no); } else { row = this.frm.doc.items.find(i => i.batch_no === batch_no); - frappe.model.set_value(row.doctype, row.name, 'batch_no', batch_no); } if (!row) {