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"/>
|
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"/>
|
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>
|
|
|
|
<!--<separator string="Note: 'Use time' will count automatic after finish HD Case."/>-->
|
2015-01-15 05:15:46 +00:00
|
|
|
</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-15 07:52:15 +00:00
|
|
|
<button string="Drop" type="danger" icon="remove" states="active" method="drop"/>
|
|
|
|
<button string="Renew" type="primary" icon="refresh" states="active" method="renew"/>
|
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>
|