commit | 6412583e9825bd3847f64b43f44409b57236e557 | [log] [tgz] |
---|---|---|
author | ruthra kumar <ruthra@erpnext.com> | Thu Feb 23 09:36:21 2023 +0530 |
committer | ruthra kumar <ruthra@erpnext.com> | Thu Feb 23 09:36:21 2023 +0530 |
tree | 7d6a27d4ff15e60d3afe7948a08723ac4ef879ad | |
parent | a0eb5e55359e47baa7391859f79a9ba3ef339cb9 [diff] |
fix: ui freeze on item selection in sales invoice
diff --git a/erpnext/selling/sales_common.js b/erpnext/selling/sales_common.js index 8ff01f5..5ce6e9c 100644 --- a/erpnext/selling/sales_common.js +++ b/erpnext/selling/sales_common.js
@@ -418,8 +418,6 @@ callback: function(r) { if(r.message) { frappe.model.set_value(doc.doctype, doc.name, 'batch_no', r.message); - } else { - frappe.model.set_value(doc.doctype, doc.name, 'batch_no', r.message); } } });