From 93cba3e688369b6c235ac4f024674e97c7bc130d Mon Sep 17 00:00:00 2001 From: "watcha.h" Date: Thu, 19 Mar 2015 13:43:25 +0700 Subject: [PATCH] pending cycle item --- netforce_clinic/actions/clinic_cycle_item.xml | 2 +- netforce_clinic/layouts/clinic_cycle_item_form.xml | 13 ++++++++----- netforce_clinic/layouts/clinic_cycle_item_list.xml | 1 + netforce_clinic/models/cycle_item.py | 9 ++++++++- 4 files changed, 18 insertions(+), 7 deletions(-) diff --git a/netforce_clinic/actions/clinic_cycle_item.xml b/netforce_clinic/actions/clinic_cycle_item.xml index 405d100..d066491 100644 --- a/netforce_clinic/actions/clinic_cycle_item.xml +++ b/netforce_clinic/actions/clinic_cycle_item.xml @@ -3,7 +3,7 @@ multi_view clinic.cycle.item list,form - [["All",[]],["Draft",[["state","=","draft"]]],["Validated",[["state","=","validated"]]]] + [["All",[]],["Draft",[["state","=","draft"]]],["Pending",[["state","=","pending"]]],["Validated",[["state","=","validated"]]]] clinic_menu 25 diff --git a/netforce_clinic/layouts/clinic_cycle_item_form.xml b/netforce_clinic/layouts/clinic_cycle_item_form.xml index 2ce57dd..7b44aae 100644 --- a/netforce_clinic/layouts/clinic_cycle_item_form.xml +++ b/netforce_clinic/layouts/clinic_cycle_item_form.xml @@ -5,7 +5,7 @@ - + @@ -26,17 +26,20 @@ - -