|
from odoo import models, fields
|
|
|
|
class Student(models.Model):
|
|
_name = 'cefope.student'
|
|
_description = 'Student'
|
|
|
|
name = fields.Char(string="Name")
|
|
email = fields.Char(string="Email")
|
|
phone = fields.Char(string="Phone")
|
|
|
|
user_id = fields.Many2one(
|
|
'res.users',
|
|
string="User"
|
|
)
|