This commit is contained in:
XuanHuyen
2025-02-23 01:59:56 +07:00
parent 983b76ba74
commit 6baa855977
16 changed files with 388 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
from odoo import fields, api, models
class EductionSchool(models.Model):
_name = 'education.school'
_description = 'School'
name = fields.Char(string='Name', translate=True, required=True)
code = fields.Char(string='Code', copy=False)
class_ids = fields.One2many("education.class", "school_id", string="Classes")