2015-03-13 16:31:58 +00:00
|
|
|
<form model="clinic.dialyzer" attrs='{"readonly":[["state","in",["cancelled","drop","active","expire"]]]}' 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>
|
2015-08-18 11:18:12 +00:00
|
|
|
<!--<field name="hd_cases" readonly="1"/>-->
|
|
|
|
<field name="hd_cases_dlz" readonly="1">
|
|
|
|
<list>
|
|
|
|
<field name="hdcase_date"/>
|
|
|
|
<field name="use_time"/>
|
2015-08-26 09:13:27 +00:00
|
|
|
<field name="nurse_id"/>
|
2015-08-18 11:18:12 +00:00
|
|
|
</list>
|
|
|
|
<form>
|
|
|
|
<field name="hd_case_id"/>
|
|
|
|
<field name="membrane_type" span="2"/>
|
|
|
|
<field name="dialyzer_type" span="2"/>
|
|
|
|
<field name="use_time"/>
|
|
|
|
<field name="max_use_time"/>
|
|
|
|
<field name="description"/>
|
|
|
|
</form>
|
|
|
|
</field>
|
2014-10-02 07:36:13 +00:00
|
|
|
<field name="pickings" click_action="view_picking"/>
|
|
|
|
</related>
|
2014-08-21 10:03:45 +00:00
|
|
|
</form>
|