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

(cherry picked from commit 4668bb4be0)
This commit is contained in:
GangaManoj
2021-11-11 18:42:25 +05:30
committed by mergify-bot
parent 246f02d585
commit ebd89e1c3d

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