From c166295720a3c355257eda74808ff2e448b780f1 Mon Sep 17 00:00:00 2001 From: "watcha.h@almacom.co.th" Date: Sat, 17 Jan 2015 20:34:00 +0700 Subject: [PATCH] prepare cycle item for spliting department --- .../actions/clinic_cycle_daily.xml | 8 - .../actions/clinic_cycle_monthly.xml | 8 - .../layouts/clinic_cycle_daily_form.xml | 53 ----- .../layouts/clinic_cycle_daily_list.xml | 4 - .../layouts/clinic_cycle_item_form.xml | 2 +- .../layouts/clinic_cycle_monthly_form.xml | 45 ---- .../layouts/clinic_cycle_monthly_list.xml | 4 - .../layouts/clinic_schedule_calendar.xml | 2 + netforce_clinic/models/__init__.py | 10 +- netforce_clinic/models/cycle_daily.py | 194 ------------------ netforce_clinic/models/cycle_daily_line.py | 26 --- netforce_clinic/models/cycle_item.py | 69 +++---- netforce_clinic/models/cycle_item_line.py | 31 +-- netforce_clinic/models/cycle_item_nurse.py | 18 -- netforce_clinic/models/cycle_item_other.py | 18 -- netforce_clinic/models/cycle_monthly.py | 109 ---------- netforce_clinic/models/cycle_monthly_line.py | 36 ---- netforce_clinic/models/schedule.py | 8 +- netforce_clinic/models/setting.py | 30 ++- netforce_clinic/models/staff.py | 4 +- netforce_clinic/todo.txt | 10 +- 21 files changed, 68 insertions(+), 621 deletions(-) delete mode 100644 netforce_clinic/actions/clinic_cycle_daily.xml delete mode 100644 netforce_clinic/actions/clinic_cycle_monthly.xml delete mode 100644 netforce_clinic/layouts/clinic_cycle_daily_form.xml delete mode 100644 netforce_clinic/layouts/clinic_cycle_daily_list.xml delete mode 100644 netforce_clinic/layouts/clinic_cycle_monthly_form.xml delete mode 100644 netforce_clinic/layouts/clinic_cycle_monthly_list.xml delete mode 100644 netforce_clinic/models/cycle_daily.py delete mode 100644 netforce_clinic/models/cycle_daily_line.py delete mode 100644 netforce_clinic/models/cycle_item_nurse.py delete mode 100644 netforce_clinic/models/cycle_item_other.py delete mode 100644 netforce_clinic/models/cycle_monthly.py delete mode 100644 netforce_clinic/models/cycle_monthly_line.py diff --git a/netforce_clinic/actions/clinic_cycle_daily.xml b/netforce_clinic/actions/clinic_cycle_daily.xml deleted file mode 100644 index 29643ad..0000000 --- a/netforce_clinic/actions/clinic_cycle_daily.xml +++ /dev/null @@ -1,8 +0,0 @@ - - Cycle Daily - multi_view - clinic.cycle.daily - [["All",[]],["Draft",[["state","=","draft"]]],["Confirmed",[["state","=","confirmed"]]]] - list,form - clinic_menu - diff --git a/netforce_clinic/actions/clinic_cycle_monthly.xml b/netforce_clinic/actions/clinic_cycle_monthly.xml deleted file mode 100644 index b4eadea..0000000 --- a/netforce_clinic/actions/clinic_cycle_monthly.xml +++ /dev/null @@ -1,8 +0,0 @@ - - Cycle Monthly - multi_view - clinic.cycle.monthly - [["All",[]],["Draft",[["state","=","draft"]]],["Approved",[["state","=","approved"]]]] - list,form - clinic_menu - diff --git a/netforce_clinic/layouts/clinic_cycle_daily_form.xml b/netforce_clinic/layouts/clinic_cycle_daily_form.xml deleted file mode 100644 index 1bb97f7..0000000 --- a/netforce_clinic/layouts/clinic_cycle_daily_form.xml +++ /dev/null @@ -1,53 +0,0 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -