[FIX] ATTENDANCE: Issue with the old migrations for the attendance validator method
This commit is contained in:
@@ -27,6 +27,7 @@ from attendance.methods.utils import (
|
||||
strtime_seconds,
|
||||
validate_hh_mm_ss_format,
|
||||
validate_time_format,
|
||||
validate_time_in_minutes,
|
||||
)
|
||||
from base.horilla_company_manager import HorillaCompanyManager
|
||||
from base.methods import is_company_leave, is_holiday
|
||||
@@ -36,6 +37,10 @@ from horilla.methods import get_horilla_model_class
|
||||
from horilla.models import HorillaModel
|
||||
from horilla_audit.models import HorillaAuditInfo, HorillaAuditLog
|
||||
|
||||
# to skip the migration issue with the old migrations
|
||||
_validate_time_in_minutes = validate_time_in_minutes
|
||||
|
||||
|
||||
# Create your models here.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user