mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-20 17:59:57 +00:00
chore: resolve conflict
This commit is contained in:
@@ -1517,16 +1517,6 @@ class JobCard(Document):
|
||||
self.set_for_quantity(kwargs)
|
||||
self.validate_complete_job_card_qty(kwargs)
|
||||
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
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 set_for_quantity(self, kwargs):
|
||||
"""Qty to Manufacture of the completion dialog covers the current cycle only,
|
||||
so the qty completed by the earlier cycles of this job card is kept."""
|
||||
@@ -1535,7 +1525,6 @@ class JobCard(Document):
|
||||
|
||||
self.for_quantity = flt(self.total_completed_qty) + flt(kwargs.for_quantity)
|
||||
|
||||
>>>>>>> 0e1bc58b2e (fix(job_card): apply the completion dialog's qty to manufacture (#57685))
|
||||
def validate_docstatus(self):
|
||||
if self.docstatus == 2:
|
||||
frappe.throw(_("Cancelled Job Card cannot be processed."))
|
||||
|
||||
Reference in New Issue
Block a user