update education module
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user