xxxx
parent
4f44c61d8b
commit
15b692fe96
|
@ -44,11 +44,11 @@
|
||||||
<item string="RD Shop" action="clinic_shop" perm="clinic_shop"/>
|
<item string="RD Shop" action="clinic_shop" perm="clinic_shop"/>
|
||||||
<item string="Sickbed" action="clinic_sickbed"/>
|
<item string="Sickbed" action="clinic_sickbed"/>
|
||||||
</item>
|
</item>
|
||||||
<item string="Reporting" perm="clinic_report">
|
<item string="Reports" perm="clinic_report">
|
||||||
<item string="HD Case Expense" action="clinic_report_claim"/>
|
|
||||||
<item string="RD Shop Expense" action="clinic_report_shop"/>
|
|
||||||
<item string="Cycle Item Summary" action="clinic_report_cycle_item"/>
|
<item string="Cycle Item Summary" action="clinic_report_cycle_item"/>
|
||||||
<item string="HD Case Summary" action="clinic_report_hd_case_summary"/>
|
<item string="HD Case Summary" action="clinic_report_hd_case_summary"/>
|
||||||
|
<item string="HD Case Expense" action="clinic_report_claim"/>
|
||||||
|
<item string="RD Shop Expense" action="clinic_report_shop"/>
|
||||||
</item>
|
</item>
|
||||||
<item string="Settings" perm="clinic_settings">
|
<item string="Settings" perm="clinic_settings">
|
||||||
<item string="Titles" action="clinic_name_title" perm="clinic_name_title"/>
|
<item string="Titles" action="clinic_name_title" perm="clinic_name_title"/>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<head>
|
<head>
|
||||||
<field name="type_id"/>
|
<field name="type_id"/>
|
||||||
<button string="Options" dropdown="1">
|
<button string="Options" dropdown="1">
|
||||||
<item string="Share Location" action="clinic_share_location"/>
|
<item string="Share" action="clinic_share_location"/>
|
||||||
</button>
|
</button>
|
||||||
</head>
|
</head>
|
||||||
<field name="number"/>
|
<field name="number"/>
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
<form model="clinic.share.location">
|
<form model="clinic.share.location" title="Share Patient To Another Location">
|
||||||
<group form_layout="stacked">
|
<group form_layout="stacked">
|
||||||
<!--
|
|
||||||
<template>
|
|
||||||
<div class="alert alert-warning" role="alert">
|
|
||||||
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
|
|
||||||
<span class="sr-only">Note:</span>
|
|
||||||
Please use commas (",") and locaiton code as separator between location such as: location_code1, location_code2 .
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
-->
|
|
||||||
<field name="location" span="8"/>
|
<field name="location" span="8"/>
|
||||||
<field name="loc_select" selection="get_location" onchange="onchange_location" span="4"/>
|
<field name="loc_select" selection="get_location" onchange="onchange_location" span="4"/>
|
||||||
<field name="patient_id" invisible="1" span="2"/>
|
<field name="patient_id" invisible="1" span="2"/>
|
||||||
|
|
|
@ -11,7 +11,7 @@ class ShareLocation(Model):
|
||||||
_fields={
|
_fields={
|
||||||
'patient_id': fields.Many2One("clinic.patient","Patient",required=True),
|
'patient_id': fields.Many2One("clinic.patient","Patient",required=True),
|
||||||
'location': fields.Char("Location"),
|
'location': fields.Char("Location"),
|
||||||
"loc_select": fields.Selection([],"Departments"),
|
"loc_select": fields.Selection([],"Select Location"),
|
||||||
}
|
}
|
||||||
|
|
||||||
def get_location_user(self,patient_id=None,patient_only=False):
|
def get_location_user(self,patient_id=None,patient_only=False):
|
||||||
|
|
Loading…
Reference in New Issue