diff --git a/erpnext/manufacturing/doctype/job_card/job_card.py b/erpnext/manufacturing/doctype/job_card/job_card.py index 9e3d5c37992e..2ca7e5821aa4 100644 --- a/erpnext/manufacturing/doctype/job_card/job_card.py +++ b/erpnext/manufacturing/doctype/job_card/job_card.py @@ -215,7 +215,7 @@ def get_overlap_for(self, args, check_next_available_slot=False): sequentialjc_list = [[]] temp = existing.copy() while len(temp) > 0: - [seqtemp,temp1] = groupingjc(temp) + [seqtemp,temp1] = self.groupingjc(temp) sequentialjc_list.append(seqtemp) temp = temp1 sequentialjc_list.pop(0)