hospital_demo_js/models/hos_visit.xml

7 lines
448 B
XML
Raw Permalink Normal View History

2014-08-19 04:49:13 +00:00
<model name="hos.visit" string="Visit">
<field name="date" string="Date" type="date" required="1" search="1"/>
<field name="patient_id" string="Patient" type="many2one" relation="hos.patient" search="1"/>
<field name="state" string="Status" type="selection" selection="[[&quot;planned&quot;,&quot;Planned&quot;],[&quot;done&quot;,&quot;Completed&quot;]]" search="1" default="planned"/>
<field name="xxx" string="XXX" type="char"/>
</model>