feat: Add 'Add Serial No' button in the Stock Items table

This commit is contained in:
GangaManoj 2021-11-11 18:42:25 +05:30
parent abb535540a
commit 4668bb4be0

View File

@ -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();
}
});