feat: Add 'Add Serial No' button in the Stock Items table
This commit is contained in:
parent
abb535540a
commit
4668bb4be0
@ -60,6 +60,10 @@ frappe.ui.form.on('Asset Repair', {
|
||||
if (frm.doc.repair_status == "Completed") {
|
||||
frm.set_value('completion_date', frappe.datetime.now_datetime());
|
||||
}
|
||||
},
|
||||
|
||||
stock_items_on_form_rendered() {
|
||||
erpnext.setup_serial_or_batch_no();
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user