chore: fix linting issues

This commit is contained in:
Deepesh Garg
2023-07-15 18:03:16 +05:30
parent 924cdef6d9
commit 3fa2a8c2d8
18 changed files with 42 additions and 275 deletions

View File

@@ -473,7 +473,7 @@ frappe.ui.form.on('Asset', {
}
const item = purchase_doc.items.find(item => item.item_code === frm.doc.item_code);
if (!item) {
doctype_field = frappe.scrub(doctype)
let doctype_field = frappe.scrub(doctype)
frm.set_value(doctype_field, '');
frappe.msgprint({
title: __('Invalid {0}', [__(doctype)]),