clinic/netforce_clinic/layouts/clinic_dialyzer_form.xml

42 lines
1.5 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">
2015-02-10 07:20:58 +00:00
<item string="Copy" method="copy" states="active"/>
2015-03-03 16:53:31 +00:00
<item string="To Draft" method="to_draft" states="drop,active,expire"/>
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"/>
2015-01-13 08:58:47 +00:00
<field name="name"/>
<field name="patient_id" required="1" onchange="onchange_patient"/>
<field name="department_id" required="1"/>
2014-10-02 10:10:57 +00:00
<field name="date"/>
2014-12-19 18:19:19 +00:00
<field name="exp_date"/>
2015-02-10 06:41:47 +00:00
<field name="membrane_type" required="1"/>
2014-10-02 10:10:57 +00:00
</group>
<group span="6" columns="1">
2015-01-15 06:44:58 +00:00
<field name="product_id" onchange="onchange_product"/>
2014-10-02 10:10:57 +00:00
<field name="dialyzer_type"/>
2015-01-15 05:15:46 +00:00
<field name="use_time"/>
2014-10-02 10:10:57 +00:00
<field name="max_use_time"/>
2015-01-15 06:44:58 +00:00
<field name="note"/>
2015-01-09 05:19:52 +00:00
<field name="company_id" invisible="1"/>
2014-10-02 10:10:57 +00:00
</group>
2015-01-15 05:15:46 +00:00
<group span="6" columns="1">
</group>
<group span="6" columns="1">
2015-01-15 06:32:52 +00:00
<template>
<div><b>Note:</b> 'Use time' will count automatic after finish HD Case.</div>
</template>
2015-01-15 05:15:46 +00:00
</group>
2014-10-02 07:36:13 +00:00
<foot>
2015-02-10 06:41:47 +00:00
<button string="Validate" type="success" states="new" method="validate"/>
2014-10-15 07:52:15 +00:00
<button string="Drop" type="danger" icon="remove" states="active" method="drop"/>
2014-10-02 07:36:13 +00:00
</foot>
<related>
<field name="pickings" click_action="view_picking"/>
2014-10-26 00:15:13 +00:00
<field name="hd_cases" readonly="1"/>
2014-10-02 07:36:13 +00:00
</related>
2014-08-21 10:03:45 +00:00
</form>