clinic/netforce_clinic/models/report_staff_line.py

12 lines
374 B
Python
Raw Normal View History

2015-01-30 11:15:13 +00:00
from netforce.model import Model, fields
class ReportStaffLine(Model):
_name='clinic.report.staff.line'
_string="Report Staff Line"
_fields={
'report_staff_id': fields.Many2One("clinic.report.staff","Report Staff", required=True, on_delete="cascade"),
'hd_case_id': fields.Many2One("clinic.hd.case","HD Case"),
}
ReportStaffLine.register()