xxx
parent
7224b72948
commit
609dfb8a47
|
@ -35,7 +35,16 @@
|
|||
</list>
|
||||
</field>
|
||||
</tab>
|
||||
<tab string="New Visit">
|
||||
<tab string="Notes">
|
||||
<field name="wh_start"/>
|
||||
<field name="wh_stop"/>
|
||||
<field name="bp_start"/>
|
||||
<field name="per_bp_start"/>
|
||||
<field name="bp_stop"/>
|
||||
<field name="per_bp_stop"/>
|
||||
<field name="hct"/>
|
||||
</tab>
|
||||
<tab string="Next Visit">
|
||||
<separator string="Click Options-> New Visit"/>
|
||||
<field name="planes" nolabel="1" domain="[['state','=','open']]">
|
||||
<list>
|
||||
|
@ -46,15 +55,6 @@
|
|||
</list>
|
||||
</field>
|
||||
</tab>
|
||||
<tab string="Notes">
|
||||
<field name="wh_start"/>
|
||||
<field name="wh_stop"/>
|
||||
<field name="bp_start"/>
|
||||
<field name="per_bp_start"/>
|
||||
<field name="bp_stop"/>
|
||||
<field name="per_bp_stop"/>
|
||||
<field name="hct"/>
|
||||
</tab>
|
||||
<tab string="Others">
|
||||
<separator string="Accounting"/>
|
||||
<field name="paid" readonly="1"/>
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
<button string="Re Visit" type="default" attrs='{"invisible":[["state","=","treatment"]]}' icon="repeat" method="reopen" states="cancelled" />
|
||||
</foot>
|
||||
<related>
|
||||
<field name="hd_cases" readonly="1"/>
|
||||
<field name="comments"/>
|
||||
</related>
|
||||
</form>
|
||||
|
|
|
@ -42,6 +42,7 @@ class Visit(Model):
|
|||
"time_start": fields.DateTime("Time Start"),
|
||||
"time_stop": fields.DateTime("Time Stop"),
|
||||
'planes': fields.One2Many("clinic.visit.plane","visit_id","Planning"),
|
||||
'hd_cases': fields.One2Many('clinic.hd.case','visit_id',"HD Cases",readonly=True),
|
||||
}
|
||||
|
||||
def _get_number(self,context={}):
|
||||
|
|
Loading…
Reference in New Issue