From 081505ce33ee5925763d9b5c8b42aad2ee594c36 Mon Sep 17 00:00:00 2001 From: hoangvv Date: Wed, 26 Feb 2025 16:28:40 +0700 Subject: [PATCH] update --- education/models/education_student.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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",