diff --git a/education/models/education_student.py b/education/models/education_student.py index b33a0dc..ac34035 100644 --- a/education/models/education_student.py +++ b/education/models/education_student.py @@ -20,7 +20,9 @@ class EducationStudent(models.Model): string="Gender", default="male", ) - date_of_birth = fields.Date(string="Date of Birth",) + date_of_birth = fields.Date( + string="Date of Birth", + ) age = fields.Integer( string="Age", compute="_compute_age",