clinic/netforce_clinic/models/base_user.py

10 lines
223 B
Python

from netforce.model import Model, fields
class User(Model):
_inherit="base.user"
_fields={
'department_profile_id': fields.Many2One("clinic.department.profile","Department Profile"),
}
User.register()