8 lines
545 B
XML
8 lines
545 B
XML
<model name="hos.visit" string="Visit">
|
|
<field name="date" string="Date" type="date" required="1" search="1"/>
|
|
<field name="other_patients" string="Other Patients" type="many2many" relation="hos.patient"/>
|
|
<field name="patient_id" string="Patient" type="many2one" relation="hos.patient" search="1"/>
|
|
<field name="state" string="Status" type="selection" selection="[["planned","Planned"],["done","Completed"]]" search="1" default="planned"/>
|
|
<field name="xxx" string="XXX" type="char"/>
|
|
</model>
|