From 7a384046fe8d80fc48109557b712072707cfc883 Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Wed, 3 Dec 2014 16:11:41 +0700 Subject: [PATCH] limit --- netforce_clinic/actions/clinic_cycle_item.xml | 1 + netforce_clinic/actions/clinic_hd_case.xml | 1 + netforce_clinic/actions/clinic_patient.xml | 1 + netforce_clinic/actions/clinic_staff.xml | 1 + netforce_clinic/actions/clinic_visit.xml | 1 + .../layouts/import_clinic_payment_form.xml | 1 + netforce_clinic/models/import_hd_case.py | 20 ++++---- netforce_clinic/models/import_payment.py | 51 +++++++++++++++++++ 8 files changed, 68 insertions(+), 9 deletions(-) diff --git a/netforce_clinic/actions/clinic_cycle_item.xml b/netforce_clinic/actions/clinic_cycle_item.xml index 821c85b..7e152bd 100644 --- a/netforce_clinic/actions/clinic_cycle_item.xml +++ b/netforce_clinic/actions/clinic_cycle_item.xml @@ -5,4 +5,5 @@ list,form [["All",[]],["Draft",[["state","=","draft"]]],["Done",[["state","=","done"]]]] clinic_menu + 25 diff --git a/netforce_clinic/actions/clinic_hd_case.xml b/netforce_clinic/actions/clinic_hd_case.xml index 3ac12b7..e871389 100644 --- a/netforce_clinic/actions/clinic_hd_case.xml +++ b/netforce_clinic/actions/clinic_hd_case.xml @@ -5,4 +5,5 @@ [["All",[]],["Draft",[["state","=","draft"]]],["Waiting Treatment",[["state","=","waiting_treatment"]]],["In Progress",[["state","=","in_progress"]]],["Waiting Payment",[["state","=","waiting_payment"]]],["Waiting Approval",[["state","=","waiting_approval"]]],["Completed",[["state","=","completed"]]],["Cancelled",[["state","=","cancelled"]]]] list,form clinic_menu + 25 diff --git a/netforce_clinic/actions/clinic_patient.xml b/netforce_clinic/actions/clinic_patient.xml index fea87f2..6a59376 100644 --- a/netforce_clinic/actions/clinic_patient.xml +++ b/netforce_clinic/actions/clinic_patient.xml @@ -5,4 +5,5 @@ [["All",[]],["Archived",[["active","=","False"]]]] clinic_menu + 25 diff --git a/netforce_clinic/actions/clinic_staff.xml b/netforce_clinic/actions/clinic_staff.xml index 85eec9a..b0f69a8 100644 --- a/netforce_clinic/actions/clinic_staff.xml +++ b/netforce_clinic/actions/clinic_staff.xml @@ -5,4 +5,5 @@ [["All",[]],["Archived",[["active","=",false]]],["Doctor",[["type","=","doctor"]]],["Nurse",[["type","=","nurse"]]]] list,page,form clinic_menu + 25 diff --git a/netforce_clinic/actions/clinic_visit.xml b/netforce_clinic/actions/clinic_visit.xml index 7108110..de14e33 100644 --- a/netforce_clinic/actions/clinic_visit.xml +++ b/netforce_clinic/actions/clinic_visit.xml @@ -5,4 +5,5 @@ [["All",[]],["Draft",[["state","=","draft"]]],["Confirmed",[["state","=","confirmed"]]],["Cancelled",[["state","=","cancelled"]]]] list,form,calendar clinic_menu + 25 diff --git a/netforce_clinic/layouts/import_clinic_payment_form.xml b/netforce_clinic/layouts/import_clinic_payment_form.xml index 35f2227..2074baf 100644 --- a/netforce_clinic/layouts/import_clinic_payment_form.xml +++ b/netforce_clinic/layouts/import_clinic_payment_form.xml @@ -66,6 +66,7 @@ +