mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-09 08:11:19 +00:00
Revert "fix: Price not getting set for first row"
This reverts commit 92ed11ad16.
This commit is contained in:
@@ -223,7 +223,6 @@ erpnext.SerialNoBatchSelector = Class.extend({
|
|||||||
frappe.model.set_value(row.doctype, row.name, 'batch_no', batch_no);
|
frappe.model.set_value(row.doctype, row.name, 'batch_no', batch_no);
|
||||||
} else {
|
} else {
|
||||||
row = this.frm.doc.items.find(i => i.batch_no === batch_no);
|
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) {
|
if (!row) {
|
||||||
|
|||||||
Reference in New Issue
Block a user