From 1c6275e72c021426ef6de867efde8d1fbbeb6720 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Sun, 14 Dec 2014 18:15:14 +0700 Subject: [PATCH] ot --- netforce_clinic/actions/clinic_period.xml | 2 +- .../layouts/clinic_hd_case_expense_form.xml | 37 +++-- .../layouts/clinic_hd_case_expense_list.xml | 8 +- .../layouts/clinic_hd_case_form.xml | 1 + .../layouts/clinic_hd_case_list.xml | 1 + .../layouts/clinic_menu_inherit.xml | 3 + netforce_clinic/layouts/clinic_setting.xml | 3 + .../layouts/import_clinic_payment_form.xml | 6 - netforce_clinic/migrations/__init__.py | 1 + .../migrations/import_clinic_hd_case.py | 107 ++++++++++++++ netforce_clinic/migrations/utils.py | 130 +++++++++++++++++ netforce_clinic/models/account_invoice.py | 29 +--- netforce_clinic/models/dialyzer.py | 6 + netforce_clinic/models/hd_case.py | 116 +++++++-------- netforce_clinic/models/hd_case_expense.py | 22 ++- netforce_clinic/models/hd_case_line.py | 2 +- netforce_clinic/models/import_payment.py | 62 ++++++-- netforce_clinic/models/setting.py | 1 + netforce_clinic/models/visit.py | 1 - netforce_clinic/todo.txt | 134 +----------------- 20 files changed, 417 insertions(+), 255 deletions(-) create mode 100644 netforce_clinic/migrations/import_clinic_hd_case.py create mode 100644 netforce_clinic/migrations/utils.py diff --git a/netforce_clinic/actions/clinic_period.xml b/netforce_clinic/actions/clinic_period.xml index 67bf988..d4dd157 100644 --- a/netforce_clinic/actions/clinic_period.xml +++ b/netforce_clinic/actions/clinic_period.xml @@ -2,5 +2,5 @@ Period multi_view clinic.period - clinic_menu + account_menu diff --git a/netforce_clinic/layouts/clinic_hd_case_expense_form.xml b/netforce_clinic/layouts/clinic_hd_case_expense_form.xml index e5c45e2..56da269 100644 --- a/netforce_clinic/layouts/clinic_hd_case_expense_form.xml +++ b/netforce_clinic/layouts/clinic_hd_case_expense_form.xml @@ -5,21 +5,34 @@ - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +