init
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from odoo import fields, api, models
|
||||
|
||||
class EducationClass(models.Model):
|
||||
_name = 'education.class'
|
||||
_description = 'Education Class'
|
||||
|
||||
name = fields.Char(string='Name', required=True)
|
||||
school_id = fields.Many2one('education.school', string='School', required=True)
|
||||
teacher_ids = fields.Many2many('res.partner', string='Teachers')
|
||||
Reference in New Issue
Block a user