32 lines
1.1 KiB
XML
32 lines
1.1 KiB
XML
<form model="clinic.dialyzer" attrs='{"readonly":[["state","in",["cancelled","drop","active"]]]}' show_company="1">
|
|
<head>
|
|
<field name="state"/>
|
|
<button string="Options" dropdown="1">
|
|
<item string="Copy" method="copy"/>
|
|
</button>
|
|
</head>
|
|
<group span="6" columns="1">
|
|
<field name="number"/>
|
|
<field name="ref"/>
|
|
<field name="patient_id" required="1"/>
|
|
<field name="date"/>
|
|
<field name="exp_date"/>
|
|
</group>
|
|
<group span="6" columns="1">
|
|
<field name="product_id"/>
|
|
<field name="dialyzer_type"/>
|
|
<field name="use_time" readonly="1"/>
|
|
<field name="max_use_time"/>
|
|
<field name="description"/>
|
|
</group>
|
|
<foot>
|
|
<button string="Confirm" type="success" states="new" method="confirm"/>
|
|
<button string="Drop" type="danger" icon="remove" states="active" method="drop"/>
|
|
<button string="Renew" type="primary" icon="refresh" states="active" method="renew"/>
|
|
</foot>
|
|
<related>
|
|
<field name="pickings" click_action="view_picking"/>
|
|
<field name="hd_cases" readonly="1"/>
|
|
</related>
|
|
</form>
|