diff --git a/netforce_clinic/actions/clinic_dialyzer_report.xml b/netforce_clinic/actions/clinic_dialyzer_report.xml deleted file mode 100644 index 9d4532c..0000000 --- a/netforce_clinic/actions/clinic_dialyzer_report.xml +++ /dev/null @@ -1,8 +0,0 @@ - - Dialyzer - report - report.dialyzer.drop - report_dialyzer_drop - dialyzer_drop - clinic_menu - diff --git a/netforce_clinic/models/__init__.py b/netforce_clinic/models/__init__.py index 05178af..15f8287 100644 --- a/netforce_clinic/models/__init__.py +++ b/netforce_clinic/models/__init__.py @@ -8,7 +8,6 @@ from . import morbidity from . import nation from . import nurse from . import patient -from . import patient_schedule from . import patient_cause_line from . import patient_comorbidity_line from . import patient_morbidity_line @@ -34,4 +33,3 @@ from . import report_hd_summary from . import report_hd_madical from . import payment from . import input_data -#from . import translate diff --git a/netforce_clinic/models/nurse.py b/netforce_clinic/models/nurse.py index 780c10a..2ccf50f 100644 --- a/netforce_clinic/models/nurse.py +++ b/netforce_clinic/models/nurse.py @@ -69,5 +69,4 @@ class Nurse(Model): } _order="date desc,number desc" - Nurse.register() diff --git a/netforce_clinic/models/patient_schedule.py b/netforce_clinic/models/patient_schedule.py deleted file mode 100644 index aa80530..0000000 --- a/netforce_clinic/models/patient_schedule.py +++ /dev/null @@ -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() diff --git a/netforce_clinic/models/schedule.py b/netforce_clinic/models/schedule.py deleted file mode 100644 index 8f1e3ba..0000000 --- a/netforce_clinic/models/schedule.py +++ /dev/null @@ -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()