From f184eb6799fc27d822fec6cfb6c395da9b99d85b Mon Sep 17 00:00:00 2001 From: "watcha.h@almacom.co.th" Date: Thu, 22 Jan 2015 08:34:22 +0700 Subject: [PATCH] improve --- .../actions/clinic_cycle_item_copy.xml | 6 +++ .../layouts/clinic_cycle_item_copy.xml | 16 ++++++++ .../layouts/clinic_cycle_item_form.xml | 3 +- .../layouts/clinic_visit_board_confirm.xml | 1 - netforce_clinic/models/__init__.py | 2 + netforce_clinic/models/cycle_item.py | 9 +++++ netforce_clinic/models/cycle_item_copy.py | 38 +++++++++++++++++++ .../models/cycle_item_copy_line.py | 13 +++++++ netforce_clinic/todo.txt | 2 +- 9 files changed, 87 insertions(+), 3 deletions(-) create mode 100644 netforce_clinic/actions/clinic_cycle_item_copy.xml create mode 100644 netforce_clinic/layouts/clinic_cycle_item_copy.xml create mode 100644 netforce_clinic/models/cycle_item_copy.py create mode 100644 netforce_clinic/models/cycle_item_copy_line.py diff --git a/netforce_clinic/actions/clinic_cycle_item_copy.xml b/netforce_clinic/actions/clinic_cycle_item_copy.xml new file mode 100644 index 0000000..9443500 --- /dev/null +++ b/netforce_clinic/actions/clinic_cycle_item_copy.xml @@ -0,0 +1,6 @@ + + Copy Cycle Item + form_popup + clinic.cycle.item.copy + _popup + diff --git a/netforce_clinic/layouts/clinic_cycle_item_copy.xml b/netforce_clinic/layouts/clinic_cycle_item_copy.xml new file mode 100644 index 0000000..c024ebf --- /dev/null +++ b/netforce_clinic/layouts/clinic_cycle_item_copy.xml @@ -0,0 +1,16 @@ +
+ + + + + + + + + + + + +