From 4fe5529c8368b443f35e8f8c5848330d95508073 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Tue, 25 Aug 2015 22:40:48 +0700 Subject: [PATCH] print invoice from hd case --- .../actions/clinic_hdcase_invoice_print.xml | 6 + .../layouts/clinic_hd_case_form.xml | 3 + netforce_clinic/models/account_invoice.py | 126 ++++++++++++++++++ netforce_clinic/reports/cust_invoice.odt | Bin 44426 -> 40891 bytes 4 files changed, 135 insertions(+) create mode 100644 netforce_clinic/actions/clinic_hdcase_invoice_print.xml diff --git a/netforce_clinic/actions/clinic_hdcase_invoice_print.xml b/netforce_clinic/actions/clinic_hdcase_invoice_print.xml new file mode 100644 index 0000000..217d76c --- /dev/null +++ b/netforce_clinic/actions/clinic_hdcase_invoice_print.xml @@ -0,0 +1,6 @@ + + report_odt2 + account.invoice + get_invoice_data + cust_invoice + diff --git a/netforce_clinic/layouts/clinic_hd_case_form.xml b/netforce_clinic/layouts/clinic_hd_case_form.xml index 0e95784..0a6e647 100644 --- a/netforce_clinic/layouts/clinic_hd_case_form.xml +++ b/netforce_clinic/layouts/clinic_hd_case_form.xml @@ -128,6 +128,9 @@ + +