def validate_overlap(self): """Validates overlap for Student Group, Supervisor, Room""" from erpnext.schools.utils import validate_overlap_for validate_overlap_for(self, "Assessment", "student_group") validate_overlap_for(self, "Course Schedule", "student_group") if self.room: validate_overlap_for(self, "Assessment", "room") validate_overlap_for(self, "Course Schedule", "room") if self.supervisor: validate_overlap_for(self, "Assessment", "supervisor") validate_overlap_for(self, "Course Schedule", "instructor", self.supervisor)
def validate_overlap(self): """Validates overlap for Student Group/Student Batch, Instructor, Room""" from erpnext.schools.utils import validate_overlap_for #Validate overlapping course schedules. if self.student_batch: validate_overlap_for(self, "Course Schedule", "student_batch") if self.student_group: validate_overlap_for(self, "Course Schedule", "student_group") validate_overlap_for(self, "Course Schedule", "instructor") validate_overlap_for(self, "Course Schedule", "room") #validate overlapping assessment schedules. if self.student_batch: validate_overlap_for(self, "Assessment", "student_batch") if self.student_group: validate_overlap_for(self, "Assessment", "student_group") validate_overlap_for(self, "Assessment", "room") validate_overlap_for(self, "Assessment", "supervisor", self.supervisor)
def validate_overlap(self): """Validates overlap for Student Group, Supervisor, Room""" from erpnext.schools.utils import validate_overlap_for validate_overlap_for(self, "Assessment", "student_group") validate_overlap_for(self, "Course Schedule", "student_group" ) if self.room: validate_overlap_for(self, "Assessment", "room") validate_overlap_for(self, "Course Schedule", "room") if self.supervisor: validate_overlap_for(self, "Assessment", "supervisor") validate_overlap_for(self, "Course Schedule", "instructor", self.supervisor)
def validate_overlap(self): """Validates overlap for Student Group, Instructor, Room""" from erpnext.schools.utils import validate_overlap_for #Validate overlapping course schedules. if self.student_group: validate_overlap_for(self, "Course Schedule", "student_group") validate_overlap_for(self, "Course Schedule", "instructor") validate_overlap_for(self, "Course Schedule", "room") #validate overlapping assessment schedules. if self.student_group: validate_overlap_for(self, "Assessment Plan", "student_group") validate_overlap_for(self, "Assessment Plan", "room") validate_overlap_for(self, "Assessment Plan", "supervisor", self.instructor)
def validate_overlap(self): """Validates overlap for Student Group, Instructor, Room""" from erpnext.schools.utils import validate_overlap_for validate_overlap_for(self, "Course Schedule", "student_group") validate_overlap_for(self, "Course Schedule", "instructor") validate_overlap_for(self, "Course Schedule", "room") validate_overlap_for(self, "Examination", "student_group") validate_overlap_for(self, "Examination", "room") validate_overlap_for(self, "Examination", "supervisor", self.instructor)