fix: cannot start / stop jobs

This commit is contained in:
Anoop Kurungadam
2023-06-17 11:21:03 +05:30
parent a0fc8e252c
commit 53ec2a9268

View File

@@ -161,7 +161,7 @@ class JobCard(Document):
self.total_completed_qty = flt(self.total_completed_qty, self.precision("total_completed_qty"))
for row in self.sub_operations:
self.c += row.completed_qty
self.total_completed_qty += row.completed_qty
def get_overlap_for(self, args, check_next_available_slot=False):
production_capacity = 1