From 4ac10600646811a710e15fd54658f1a42359c0d0 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Thu, 19 Feb 2015 01:50:15 +0700 Subject: [PATCH] import payment --- .../actions/clinic_matching_payment.xml | 8 +- .../layouts/clinic_account_menu.xml | 2 +- .../layouts/clinic_hd_case_expense_form.xml | 6 +- .../layouts/clinic_matching_payment.xml | 32 +++-- netforce_clinic/models/__init__.py | 1 + netforce_clinic/models/hd_case_expense.py | 15 ++- netforce_clinic/models/matching_payment.py | 112 ++++++++++++++++-- .../models/matching_payment_line.py | 22 ++++ netforce_clinic/models/setting.py | 4 + .../templates/matching_payment.hbs | 18 +-- 10 files changed, 185 insertions(+), 35 deletions(-) create mode 100644 netforce_clinic/models/matching_payment_line.py diff --git a/netforce_clinic/actions/clinic_matching_payment.xml b/netforce_clinic/actions/clinic_matching_payment.xml index ec78bbd..9bd9a9e 100644 --- a/netforce_clinic/actions/clinic_matching_payment.xml +++ b/netforce_clinic/actions/clinic_matching_payment.xml @@ -1,8 +1,10 @@ Payment Matching - report + + form_view + clinic_matching_payment clinic.matching.payment - matching_payment - matching_payment + + account_menu diff --git a/netforce_clinic/layouts/clinic_account_menu.xml b/netforce_clinic/layouts/clinic_account_menu.xml index 5bba9fc..1c54828 100644 --- a/netforce_clinic/layouts/clinic_account_menu.xml +++ b/netforce_clinic/layouts/clinic_account_menu.xml @@ -5,7 +5,7 @@ - +
diff --git a/netforce_clinic/layouts/clinic_hd_case_expense_form.xml b/netforce_clinic/layouts/clinic_hd_case_expense_form.xml index d07046d..1f0d067 100644 --- a/netforce_clinic/layouts/clinic_hd_case_expense_form.xml +++ b/netforce_clinic/layouts/clinic_hd_case_expense_form.xml @@ -28,9 +28,9 @@ - - - - - + + + + - - - -