diff --git a/erpnext/manufacturing/doctype/job_card/job_card.js b/erpnext/manufacturing/doctype/job_card/job_card.js index ad514efa55f..690d7945beb 100644 --- a/erpnext/manufacturing/doctype/job_card/job_card.js +++ b/erpnext/manufacturing/doctype/job_card/job_card.js @@ -312,7 +312,7 @@ frappe.ui.form.on("Job Card", { fieldtype: "Float", label: __("Completed Quantity"), fieldname: "qty", - default: frm.doc.for_quantity, + default: frm.doc.for_quantity - frm.doc.total_completed_qty, }, (data) => { frm.events.complete_job(frm, "Complete", data.qty);