From b8ef808524d95b4d9b8d87713b9a802f6027c395 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Fri, 13 Mar 2015 07:44:12 +0700 Subject: [PATCH] add report invoice matching --- .../clinic_matching_payment_match_invoice.xml | 6 ++ ...linic_matching_payment_unmatch_invoice.xml | 4 +- .../layouts/clinic_matching_payment_form.xml | 1 + netforce_clinic/models/department.py | 1 + netforce_clinic/models/matching_payment.py | 52 +++++++++++++++++- .../reports/matching_payment_invoice.xlsx | Bin 0 -> 4978 bytes .../matching_payment_invoice_unmatch.xlsx | Bin 4921 -> 0 bytes netforce_clinic/todo.txt | 9 +-- 8 files changed, 65 insertions(+), 8 deletions(-) create mode 100644 netforce_clinic/actions/clinic_matching_payment_match_invoice.xml create mode 100644 netforce_clinic/reports/matching_payment_invoice.xlsx delete mode 100644 netforce_clinic/reports/matching_payment_invoice_unmatch.xlsx diff --git a/netforce_clinic/actions/clinic_matching_payment_match_invoice.xml b/netforce_clinic/actions/clinic_matching_payment_match_invoice.xml new file mode 100644 index 0000000..a78664e --- /dev/null +++ b/netforce_clinic/actions/clinic_matching_payment_match_invoice.xml @@ -0,0 +1,6 @@ + + report_xls + clinic.matching.payment + get_data_match + matching_payment_invoice + diff --git a/netforce_clinic/actions/clinic_matching_payment_unmatch_invoice.xml b/netforce_clinic/actions/clinic_matching_payment_unmatch_invoice.xml index d0fbbde..60cf9e5 100644 --- a/netforce_clinic/actions/clinic_matching_payment_unmatch_invoice.xml +++ b/netforce_clinic/actions/clinic_matching_payment_unmatch_invoice.xml @@ -1,6 +1,6 @@ report_xls clinic.matching.payment - get_data - matching_payment_invoice_unmatch + get_data_unmatch + matching_payment_invoice diff --git a/netforce_clinic/layouts/clinic_matching_payment_form.xml b/netforce_clinic/layouts/clinic_matching_payment_form.xml index 4bd43df..fa47254 100644 --- a/netforce_clinic/layouts/clinic_matching_payment_form.xml +++ b/netforce_clinic/layouts/clinic_matching_payment_form.xml @@ -2,6 +2,7 @@