From 1db2481ca7158ecd72467060e5049e7e68c8136f Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Tue, 14 Oct 2014 10:57:20 +0700 Subject: [PATCH] clean --- netforce_clinic/actions/clinic_cycle.xml | 7 + netforce_clinic/layouts/clinic_cycle_form.xml | 4 + netforce_clinic/layouts/clinic_cycle_list.xml | 4 + .../layouts/clinic_hd_case_form.xml | 103 +++++------ .../layouts/clinic_hd_case_list.xml | 1 + netforce_clinic/layouts/clinic_menu.xml | 4 +- .../layouts/clinic_visit_calendar.xml | 2 +- netforce_clinic/layouts/clinic_visit_form.xml | 40 +---- netforce_clinic/layouts/clinic_visit_list.xml | 16 +- netforce_clinic/models/__init__.py | 3 + netforce_clinic/models/cycle.py | 37 ++++ netforce_clinic/models/hd_case.py | 68 +++++++- netforce_clinic/models/hd_case_gmline.py | 16 ++ netforce_clinic/models/patient.py | 12 +- netforce_clinic/models/visit.py | 161 ++++-------------- netforce_clinic/models/visit_line.py | 15 ++ netforce_clinic/todo.txt | 29 +++- 17 files changed, 286 insertions(+), 236 deletions(-) create mode 100644 netforce_clinic/actions/clinic_cycle.xml create mode 100644 netforce_clinic/layouts/clinic_cycle_form.xml create mode 100644 netforce_clinic/layouts/clinic_cycle_list.xml create mode 100644 netforce_clinic/models/cycle.py create mode 100644 netforce_clinic/models/hd_case_gmline.py create mode 100644 netforce_clinic/models/visit_line.py diff --git a/netforce_clinic/actions/clinic_cycle.xml b/netforce_clinic/actions/clinic_cycle.xml new file mode 100644 index 0000000..73cc3c4 --- /dev/null +++ b/netforce_clinic/actions/clinic_cycle.xml @@ -0,0 +1,7 @@ + + Cycles + multi_view + clinic.cycle + list,form + clinic_menu + diff --git a/netforce_clinic/layouts/clinic_cycle_form.xml b/netforce_clinic/layouts/clinic_cycle_form.xml new file mode 100644 index 0000000..771b278 --- /dev/null +++ b/netforce_clinic/layouts/clinic_cycle_form.xml @@ -0,0 +1,4 @@ +
+ + + diff --git a/netforce_clinic/layouts/clinic_cycle_list.xml b/netforce_clinic/layouts/clinic_cycle_list.xml new file mode 100644 index 0000000..9d2ffcd --- /dev/null +++ b/netforce_clinic/layouts/clinic_cycle_list.xml @@ -0,0 +1,4 @@ + + + + diff --git a/netforce_clinic/layouts/clinic_hd_case_form.xml b/netforce_clinic/layouts/clinic_hd_case_form.xml index ec8885a..0e78584 100644 --- a/netforce_clinic/layouts/clinic_hd_case_form.xml +++ b/netforce_clinic/layouts/clinic_hd_case_form.xml @@ -2,25 +2,33 @@ - - - + + + - - + + - + + + + + + + + @@ -35,53 +43,52 @@ - - - - - - - - - - - - + + - - - - + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -