From 14ae8fb35f3ef6523b3ab0008a4ca5378083e4ba Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Sat, 1 Nov 2014 15:49:27 +0700 Subject: [PATCH] patient categ --- .../actions/clinic_patient_categ.xml | 6 + .../layouts/clinic_cycle_item_form.xml | 47 +-- .../layouts/clinic_cycle_item_list.xml | 6 - netforce_clinic/layouts/clinic_menu.xml | 1 + .../layouts/clinic_patient_categ_form.xml | 4 + .../layouts/clinic_patient_categ_list.xml | 4 + .../layouts/clinic_patient_form.xml | 1 + netforce_clinic/models/__init__.py | 1 + netforce_clinic/models/cycle_item.py | 304 +----------------- netforce_clinic/models/gen_visit.py | 13 +- netforce_clinic/models/hd_case.py | 2 +- netforce_clinic/models/patient.py | 1 + netforce_clinic/models/patient_categ.py | 12 + netforce_clinic/models/visit.py | 29 +- netforce_clinic/todo.txt | 19 +- 15 files changed, 81 insertions(+), 369 deletions(-) create mode 100644 netforce_clinic/actions/clinic_patient_categ.xml create mode 100644 netforce_clinic/layouts/clinic_patient_categ_form.xml create mode 100644 netforce_clinic/layouts/clinic_patient_categ_list.xml create mode 100644 netforce_clinic/models/patient_categ.py diff --git a/netforce_clinic/actions/clinic_patient_categ.xml b/netforce_clinic/actions/clinic_patient_categ.xml new file mode 100644 index 0000000..56e94c1 --- /dev/null +++ b/netforce_clinic/actions/clinic_patient_categ.xml @@ -0,0 +1,6 @@ + + Patient Categories + multi_view + clinic.patient.categ + clinic_menu + diff --git a/netforce_clinic/layouts/clinic_cycle_item_form.xml b/netforce_clinic/layouts/clinic_cycle_item_form.xml index de77231..a8f8901 100644 --- a/netforce_clinic/layouts/clinic_cycle_item_form.xml +++ b/netforce_clinic/layouts/clinic_cycle_item_form.xml @@ -2,59 +2,14 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -