clinic/netforce_clinic/layouts/clinic_dialyzer_form.xml

34 lines
1.2 KiB
XML
Raw Normal View History

2014-10-02 15:26:14 +00:00
<form model="clinic.dialyzer" attrs='{"readonly":[["state","in",["cancelled","drop","active"]]]}' show_company="1">
2014-08-21 10:03:45 +00:00
<head>
<field name="state"/>
<button string="Options" dropdown="1">
2014-10-02 15:26:14 +00:00
<item string="Copy" method="copy"/>
2014-08-21 10:03:45 +00:00
</button>
</head>
2014-10-02 10:10:57 +00:00
<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"/>
2014-10-02 15:26:14 +00:00
<field name="use_time" readonly="1"/>
2014-10-02 10:10:57 +00:00
<field name="max_use_time"/>
<field name="exp_date"/>
<field name="description"/>
</group>
2014-10-02 07:36:13 +00:00
<foot>
2014-10-02 15:26:14 +00:00
<button string="Confirm" type="success" states="new" method="confirm"/>
2014-10-03 02:00:47 +00:00
<button string="Drop" type="danger" states="active" method="drop"/>
<button string="Cancel" type="default" states="active" method="cancel"/>
<button string="Renew" type="primary" states="cancelled" method="renew"/>
2014-10-02 07:36:13 +00:00
</foot>
<related>
<field name="pickings" click_action="view_picking"/>
</related>
2014-08-21 10:03:45 +00:00
</form>