From 0c0c79a00b5747719d1a9ebd27146a8444da505a Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Fri, 6 Mar 2015 12:15:19 +0700 Subject: [PATCH] report cycle item --- .../actions/clinic_report_cycle_item.xml | 8 ++ netforce_clinic/fixme.txt | 1 + .../layouts/clinic_cycle_item_form.xml | 4 +- .../layouts/clinic_cycle_item_list.xml | 2 +- netforce_clinic/layouts/clinic_menu.xml | 2 +- .../layouts/clinic_patient_form.xml | 2 +- .../layouts/clinic_report_cycle_item.xml | 18 +++ netforce_clinic/models/__init__.py | 1 + netforce_clinic/models/cycle_item.py | 7 +- netforce_clinic/models/patient.py | 3 +- netforce_clinic/models/report_cycle_item.py | 118 ++++++++++++++++++ .../models/report_hd_case_summary.py | 2 +- netforce_clinic/models/setting.py | 52 +++----- .../reports/report_cycle_item.xlsx | Bin 0 -> 5081 bytes .../templates/report_cycle_item.hbs | 41 ++++++ netforce_clinic/todo.txt | 11 +- 16 files changed, 226 insertions(+), 46 deletions(-) create mode 100644 netforce_clinic/actions/clinic_report_cycle_item.xml create mode 100644 netforce_clinic/fixme.txt create mode 100644 netforce_clinic/layouts/clinic_report_cycle_item.xml create mode 100644 netforce_clinic/models/report_cycle_item.py create mode 100644 netforce_clinic/reports/report_cycle_item.xlsx create mode 100644 netforce_clinic/templates/report_cycle_item.hbs diff --git a/netforce_clinic/actions/clinic_report_cycle_item.xml b/netforce_clinic/actions/clinic_report_cycle_item.xml new file mode 100644 index 0000000..2392ba9 --- /dev/null +++ b/netforce_clinic/actions/clinic_report_cycle_item.xml @@ -0,0 +1,8 @@ + + Report Cycle Item + report + clinic.report.cycle.item + report_cycle_item + report_cycle_item + clinic_menu + diff --git a/netforce_clinic/fixme.txt b/netforce_clinic/fixme.txt new file mode 100644 index 0000000..6d18960 --- /dev/null +++ b/netforce_clinic/fixme.txt @@ -0,0 +1 @@ +dom=[['patient_id.field_bool','=',True]] => not working diff --git a/netforce_clinic/layouts/clinic_cycle_item_form.xml b/netforce_clinic/layouts/clinic_cycle_item_form.xml index 4b3f75f..1d5e393 100644 --- a/netforce_clinic/layouts/clinic_cycle_item_form.xml +++ b/netforce_clinic/layouts/clinic_cycle_item_form.xml @@ -26,7 +26,7 @@ - +