fix: round total quantity in job card

This commit is contained in:
Ankush Menat
2021-04-08 11:57:28 +05:30
parent e2da3cbc28
commit cb625d868c

View File

@@ -47,6 +47,8 @@ class JobCard(Document):
if d.completed_qty:
self.total_completed_qty += d.completed_qty
self.total_completed_qty = flt(self.total_completed_qty, self.precision("total_completed_qty"))
def get_overlap_for(self, args, check_next_available_slot=False):
production_capacity = 1