From bf28ed43c659f3443e91e455d012db5c311f47fd Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Wed, 22 Oct 2014 10:45:23 +0700 Subject: [PATCH] import --- ...mport_payment.xml => import_clinic_mg.xml} | 4 +- .../actions/import_clinic_nhso.xml | 6 + netforce_clinic/actions/import_clinic_sc.xml | 6 + .../layouts/clinic_import_payment_form.xml | 14 - .../clinic_import_payment_form.xml.old | 46 -- .../layouts/clinic_import_payment_list.xml | 5 - .../layouts/clinic_menu_inherit.xml | 8 +- netforce_clinic/layouts/clinic_setting.xml | 18 +- .../layouts/fin_clinic_settings.xml | 8 + netforce_clinic/layouts/import_clinic_mg.xml | 6 + .../layouts/import_clinic_nhso.xml | 6 + netforce_clinic/layouts/import_clinic_sc.xml | 6 + netforce_clinic/models/__init__.py | 4 + netforce_clinic/models/fin_setting.py | 11 + netforce_clinic/models/import_data_mg.py | 11 + netforce_clinic/models/import_data_nhso.py | 11 + netforce_clinic/models/import_data_sc.py | 11 + netforce_clinic/models/import_payment.py | 452 ++---------------- 18 files changed, 130 insertions(+), 503 deletions(-) rename netforce_clinic/actions/{clinic_import_payment.xml => import_clinic_mg.xml} (51%) create mode 100644 netforce_clinic/actions/import_clinic_nhso.xml create mode 100644 netforce_clinic/actions/import_clinic_sc.xml delete mode 100644 netforce_clinic/layouts/clinic_import_payment_form.xml delete mode 100644 netforce_clinic/layouts/clinic_import_payment_form.xml.old delete mode 100644 netforce_clinic/layouts/clinic_import_payment_list.xml create mode 100644 netforce_clinic/layouts/fin_clinic_settings.xml create mode 100644 netforce_clinic/layouts/import_clinic_mg.xml create mode 100644 netforce_clinic/layouts/import_clinic_nhso.xml create mode 100644 netforce_clinic/layouts/import_clinic_sc.xml create mode 100644 netforce_clinic/models/fin_setting.py create mode 100644 netforce_clinic/models/import_data_mg.py create mode 100644 netforce_clinic/models/import_data_nhso.py create mode 100644 netforce_clinic/models/import_data_sc.py diff --git a/netforce_clinic/actions/clinic_import_payment.xml b/netforce_clinic/actions/import_clinic_mg.xml similarity index 51% rename from netforce_clinic/actions/clinic_import_payment.xml rename to netforce_clinic/actions/import_clinic_mg.xml index d9ef1c8..7d4b641 100644 --- a/netforce_clinic/actions/clinic_import_payment.xml +++ b/netforce_clinic/actions/import_clinic_mg.xml @@ -1,6 +1,6 @@ - Import Payments From Government - multi_view + form_view clinic.import.payment + import_clinic_mg account_menu diff --git a/netforce_clinic/actions/import_clinic_nhso.xml b/netforce_clinic/actions/import_clinic_nhso.xml new file mode 100644 index 0000000..8c00759 --- /dev/null +++ b/netforce_clinic/actions/import_clinic_nhso.xml @@ -0,0 +1,6 @@ + + form_view + clinic.import.payment + import_clinic_nhso + account_menu + diff --git a/netforce_clinic/actions/import_clinic_sc.xml b/netforce_clinic/actions/import_clinic_sc.xml new file mode 100644 index 0000000..926fe6a --- /dev/null +++ b/netforce_clinic/actions/import_clinic_sc.xml @@ -0,0 +1,6 @@ + + form_view + clinic.import.payment + import_clinic_sc + account_menu + diff --git a/netforce_clinic/layouts/clinic_import_payment_form.xml b/netforce_clinic/layouts/clinic_import_payment_form.xml deleted file mode 100644 index 24703d9..0000000 --- a/netforce_clinic/layouts/clinic_import_payment_form.xml +++ /dev/null @@ -1,14 +0,0 @@ -
- - - - - - - - - - -