update education module

This commit is contained in:
2025-02-22 12:10:53 +07:00
parent ab34ac054b
commit 7a6111136f
14 changed files with 48 additions and 55 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ class EducationStudent(models.Model):
write_date = fields.Datetime(string="Last Updated on")
currency_id = fields.Many2one("res.currency", string="Currency")
amount_paid = fields.Monetary("Amount Paid")
class_id = fields.Many2one("education.class", string="Education Class")
@api.depends("date_of_birth")
def _compute_age(self):
curent_year = fields.Date.today().year