Merge pull request #25240 from ankush/job_card_rounding

fix: round total quantity in job card
This commit is contained in:
rohitwaghchaure
2021-04-08 13:10:09 +05:30
committed by GitHub

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