clinic/netforce_clinic/models/gen_visit_line.py

14 lines
328 B
Python
Raw Normal View History

2014-10-14 13:48:14 +00:00
from netforce.model import Model, fields, get_model
class GenVisitLine(Model):
_name="clinic.gen.visit.line"
_transient=True
_fields={
'gen_id': fields.Many2One("clinic.gen.visit","gen_id","Gen Visit"),
'patient_id': fields.Many2One("clinic.patient","Patient"),
}
GenVisitLine.register()