chore: fix conflicts

Removed redundant quantity assignments and completion time logging from job card processing.
This commit is contained in:
rohitwaghchaure
2026-06-08 20:08:16 +05:30
committed by GitHub
parent 3d1327cfe5
commit 95818ec71d

View File

@@ -1469,14 +1469,6 @@ class JobCard(Document):
self.validate_complete_job_card_qty(kwargs)
self.pending_qty = flt(kwargs.pending_qty)
self.process_loss_qty = flt(kwargs.process_loss_qty)
self.add_completion_time_logs(kwargs)
if kwargs.auto_submit:
self.auto_submit_job_card(kwargs.auto_submit)
def validate_docstatus(self):
if self.docstatus == 2:
frappe.throw(_("Cancelled Job Card cannot be processed."))