schools.utils

Class OverlapError

Inherits from frappe.exceptions.ValidationError


schools.utils.get_overlap_for (doc, doctype, fieldname, value=None)

Returns overlaping document for specified feild.

Parameters:

  • fieldname - Checks Overlap for this feild

schools.utils.validate_overlap_for (doc, doctype, fieldname, value=None)

Checks overlap for specified feild.

Parameters:

  • fieldname - Checks Overlap for this feild