chore: typo

This commit is contained in:
Ankush Menat 2022-04-06 18:27:41 +05:30
parent 9e2d54f9a4
commit 8e425252c4

View File

@ -33,7 +33,7 @@ frappe.ui.form.on('Job Card', {
return;
}
if (!frm.doc.is_new() && has_items && frm.doc.docstatus < 2) {
if (!frm.is_new() && has_items && frm.doc.docstatus < 2) {
let to_request = frm.doc.for_quantity > frm.doc.transferred_qty;
let excess_transfer_allowed = frm.doc.__onload.job_card_excess_transfer;