From b573442a1e6c40edecc3b79bb7228c85da6f8b65 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Tue, 2 Dec 2014 15:34:28 +0700 Subject: [PATCH] improve --- .../actions/import_clinic_product.xml | 6 ++ .../layouts/clinic_hd_case_form.xml | 2 +- netforce_clinic/layouts/clinic_menu.xml | 1 + .../layouts/clinic_patient_form.xml | 2 +- netforce_clinic/layouts/clinic_setting.xml | 8 +-- .../layouts/clinic_visit_board.xml | 1 + .../layouts/import_clinic_hd_case.xml | 3 + .../layouts/import_clinic_product.xml | 9 +++ netforce_clinic/models/__init__.py | 1 + netforce_clinic/models/hd_case.py | 16 ++++-- netforce_clinic/models/import_hd_case.py | 9 +++ netforce_clinic/models/import_product.py | 55 +++++++++++++++++++ netforce_clinic/models/patient.py | 4 +- netforce_clinic/models/setting_policy.py | 2 +- netforce_clinic/models/setting_product.py | 2 +- netforce_clinic/models/utils.py | 2 +- netforce_clinic/models/visit_board.py | 12 ++++ netforce_clinic/todo.txt | 4 ++ 18 files changed, 121 insertions(+), 18 deletions(-) create mode 100644 netforce_clinic/actions/import_clinic_product.xml create mode 100644 netforce_clinic/layouts/import_clinic_product.xml create mode 100644 netforce_clinic/models/import_product.py diff --git a/netforce_clinic/actions/import_clinic_product.xml b/netforce_clinic/actions/import_clinic_product.xml new file mode 100644 index 0000000..7a3f652 --- /dev/null +++ b/netforce_clinic/actions/import_clinic_product.xml @@ -0,0 +1,6 @@ + + form_view + clinic.import.product + import_clinic_product + clinic_menu + diff --git a/netforce_clinic/layouts/clinic_hd_case_form.xml b/netforce_clinic/layouts/clinic_hd_case_form.xml index 884fb3d..d380813 100644 --- a/netforce_clinic/layouts/clinic_hd_case_form.xml +++ b/netforce_clinic/layouts/clinic_hd_case_form.xml @@ -10,7 +10,7 @@ - + diff --git a/netforce_clinic/layouts/clinic_menu.xml b/netforce_clinic/layouts/clinic_menu.xml index 1918df1..158ac7e 100644 --- a/netforce_clinic/layouts/clinic_menu.xml +++ b/netforce_clinic/layouts/clinic_menu.xml @@ -61,6 +61,7 @@
+ diff --git a/netforce_clinic/layouts/clinic_patient_form.xml b/netforce_clinic/layouts/clinic_patient_form.xml index 1f31fc5..d9234df 100644 --- a/netforce_clinic/layouts/clinic_patient_form.xml +++ b/netforce_clinic/layouts/clinic_patient_form.xml @@ -1,6 +1,6 @@
- +