From 7db91a5582b7d8f1cb758dafc21a8874c82ac5b9 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Tue, 14 Oct 2014 20:48:14 +0700 Subject: [PATCH] fix --- netforce_clinic/actions/clinic_gen_visit.xml | 6 + netforce_clinic/actions/view_hdcase.xml | 5 - .../layouts/clinic_gen_visit_form.xml | 22 +++ .../layouts/clinic_patient_form.xml | 5 +- .../layouts/clinic_patient_list.xml | 3 + netforce_clinic/models/__init__.py | 2 + netforce_clinic/models/__init__.py~ | 36 ----- netforce_clinic/models/gen_visit.py | 133 ++++++++++++++++++ netforce_clinic/models/gen_visit_line.py | 13 ++ netforce_clinic/models/hd_case.py | 8 -- netforce_clinic/models/patient.py | 1 - netforce_clinic/models/visit.py | 4 +- 12 files changed, 182 insertions(+), 56 deletions(-) create mode 100644 netforce_clinic/actions/clinic_gen_visit.xml delete mode 100644 netforce_clinic/actions/view_hdcase.xml create mode 100644 netforce_clinic/layouts/clinic_gen_visit_form.xml delete mode 100644 netforce_clinic/models/__init__.py~ create mode 100644 netforce_clinic/models/gen_visit.py create mode 100644 netforce_clinic/models/gen_visit_line.py diff --git a/netforce_clinic/actions/clinic_gen_visit.xml b/netforce_clinic/actions/clinic_gen_visit.xml new file mode 100644 index 0000000..5d26d99 --- /dev/null +++ b/netforce_clinic/actions/clinic_gen_visit.xml @@ -0,0 +1,6 @@ + + Generate Visit + form_popup + clinic.gen.visit + _popup + diff --git a/netforce_clinic/actions/view_hdcase.xml b/netforce_clinic/actions/view_hdcase.xml deleted file mode 100644 index 46799de..0000000 --- a/netforce_clinic/actions/view_hdcase.xml +++ /dev/null @@ -1,5 +0,0 @@ - - method - clinic.hd.case - view_hdcase - diff --git a/netforce_clinic/layouts/clinic_gen_visit_form.xml b/netforce_clinic/layouts/clinic_gen_visit_form.xml new file mode 100644 index 0000000..797a0a8 --- /dev/null +++ b/netforce_clinic/layouts/clinic_gen_visit_form.xml @@ -0,0 +1,22 @@ +
+ + + + + + + + + + + + + + + + + + + @@ -82,9 +82,6 @@ - - - diff --git a/netforce_clinic/layouts/clinic_patient_list.xml b/netforce_clinic/layouts/clinic_patient_list.xml index b723099..bbf504a 100644 --- a/netforce_clinic/layouts/clinic_patient_list.xml +++ b/netforce_clinic/layouts/clinic_patient_list.xml @@ -1,4 +1,7 @@ + +