[ADD] RECRUITMENT: Hired date field

This commit is contained in:
Horilla
2025-04-01 12:38:02 +05:30
parent 4a0c13aaa9
commit e21e12a6fc

View File

@@ -76,7 +76,7 @@ class SurveyTemplate(HorillaModel):
SurveyTemplate Model
"""
title = models.CharField(max_length=30, unique=True)
title = models.CharField(max_length=50, unique=True)
description = models.TextField(null=True, blank=True)
is_general_template = models.BooleanField(default=False, editable=False)
company_id = models.ForeignKey(
@@ -109,7 +109,7 @@ class Recruitment(HorillaModel):
Recruitment model
"""
title = models.CharField(max_length=30, null=True, blank=True)
title = models.CharField(max_length=50, null=True, blank=True)
description = models.TextField(null=True)
is_event_based = models.BooleanField(
default=False,
@@ -431,6 +431,7 @@ class Candidate(HorillaModel):
("stage_id__stage_managers__get_mail", "Stage Managers"),
("recruitment_id__recruitment_managers__get_mail", "Recruitment Managers"),
]
hired_date = models.DateField(null=True, blank=True, editable=False)
def __str__(self):
return f"{self.name}"
@@ -602,7 +603,7 @@ class RejectReason(HorillaModel):
"""
title = models.CharField(
max_length=20,
max_length=50,
)
description = models.TextField(null=True, blank=True, max_length=255)
company_id = models.ForeignKey(