20 lines
718 B
XML
20 lines
718 B
XML
<form model="clinic.schedule" attrs='{"readonly":[["state","in",["confirmed"]]]}' show_company="1">
|
|
<head>
|
|
<field name="state"/>
|
|
<button string="Options" dropdown="1">
|
|
<item string="Copy" method="copy"/>
|
|
</button>
|
|
</head>
|
|
<group form_layout="stacked">
|
|
<field name="time_start" span="3"/>
|
|
<field name="time_stop" span="3"/>
|
|
<field name="cycle_id" span="3"/>
|
|
<newline/>
|
|
<field name="nurses" span="8"/>
|
|
</group>
|
|
<foot>
|
|
<button string="Confirm" type="success" method="confirm" states="draft" />
|
|
<button string="To Draft" type="default" icon="repeat" method="to_draft" states="confirmed" />
|
|
</foot>
|
|
</form>
|