clinic/netforce_clinic/layouts/clinic_dialyzer_form.xml

34 lines
1.2 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="patient_id"/>
<field name="date"/>
<field name="member_type"/>
<field name="bid_flow_rate"/>
<field name="ultrafittration"/>
</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="exp_date"/>
<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>