clean
parent
605503ef48
commit
4dc04c5658
|
@ -1,8 +0,0 @@
|
||||||
<action>
|
|
||||||
<field name="string">Dialyzer</field>
|
|
||||||
<field name="view_cls">report</field>
|
|
||||||
<field name="model">report.dialyzer.drop</field>
|
|
||||||
<field name="report_template">report_dialyzer_drop</field>
|
|
||||||
<field name="report_template_xls">dialyzer_drop</field>
|
|
||||||
<field name="menu">clinic_menu</field>
|
|
||||||
</action>
|
|
|
@ -8,7 +8,6 @@ from . import morbidity
|
||||||
from . import nation
|
from . import nation
|
||||||
from . import nurse
|
from . import nurse
|
||||||
from . import patient
|
from . import patient
|
||||||
from . import patient_schedule
|
|
||||||
from . import patient_cause_line
|
from . import patient_cause_line
|
||||||
from . import patient_comorbidity_line
|
from . import patient_comorbidity_line
|
||||||
from . import patient_morbidity_line
|
from . import patient_morbidity_line
|
||||||
|
@ -34,4 +33,3 @@ from . import report_hd_summary
|
||||||
from . import report_hd_madical
|
from . import report_hd_madical
|
||||||
from . import payment
|
from . import payment
|
||||||
from . import input_data
|
from . import input_data
|
||||||
#from . import translate
|
|
||||||
|
|
|
@ -69,5 +69,4 @@ class Nurse(Model):
|
||||||
}
|
}
|
||||||
_order="date desc,number desc"
|
_order="date desc,number desc"
|
||||||
|
|
||||||
|
|
||||||
Nurse.register()
|
Nurse.register()
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
import time
|
|
||||||
|
|
||||||
from netforce.model import Model, fields
|
|
||||||
|
|
||||||
class PatientSchedule(Model):
|
|
||||||
_name="clinic.patient.schedule"
|
|
||||||
_string="Patient Schedule"
|
|
||||||
_fields={
|
|
||||||
"patient_id": fields.Many2One("clinic.patient","Patient",required=True,on_delete="cascade"),
|
|
||||||
}
|
|
||||||
|
|
||||||
_defaults={
|
|
||||||
}
|
|
||||||
|
|
||||||
PatientSchedule.register()
|
|
|
@ -1,13 +0,0 @@
|
||||||
from netforce.model import Model, fields
|
|
||||||
|
|
||||||
class Schedule(Model):
|
|
||||||
_name="clinic.schedule"
|
|
||||||
_string="Schedule"
|
|
||||||
_fields={
|
|
||||||
'name': fields.Char("Name"),
|
|
||||||
'code': fields.Char("Code"),
|
|
||||||
'patients': fields.Many2Many("clinic.patient","Patients"),
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Schedule.register()
|
|
Loading…
Reference in New Issue