Skip to content

Commit

Permalink
fix: cannot start / stop jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
akurungadam committed Jun 17, 2023
1 parent a0fc8e2 commit 53ec2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/manufacturing/doctype/job_card/job_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def validate_time_logs(self):
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
Expand Down

0 comments on commit 53ec2a9

Please sign in to comment.