fix: option to pick serial / batch for asset repair

This commit is contained in:
Rohit Waghchaure
2025-06-27 14:50:49 +05:30
parent a571a5bf70
commit ae77c609ff
6 changed files with 96 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
let me = this;
this.set_fields_onload_for_line_item();
this.frm.ignore_doctypes_on_cancel_all = ['Serial and Batch Bundle'];
this.frm.ignore_doctypes_on_cancel_all = ["Serial and Batch Bundle"];
frappe.flags.hide_serial_batch_dialog = true;
frappe.ui.form.on(this.frm.doctype + " Item", "rate", function(frm, cdt, cdn) {