clinic/netforce_clinic/models/base_user.py

13 lines
440 B
Python
Raw Normal View History

2015-02-10 01:28:30 +00:00
from netforce.model import Model, fields
class User(Model):
_inherit="base.user"
_fields={
'department_profile_id': fields.Many2One("clinic.department.profile","Department Profile"),
2015-03-13 11:42:57 +00:00
'department_id': fields.Many2One("clinic.department","Current Department"),
2015-03-18 01:39:03 +00:00
'branch_id': fields.Many2One("clinic.branch","Branch"),
2015-03-17 01:23:39 +00:00
'old_profile_id': fields.Many2One('profile', "Old Profile"),
2015-02-10 01:28:30 +00:00
}
User.register()