changeset 2122:3d48cc4b6bde

task #13483: Compute the patient waiting time before the evaluation. Pushed Chris changes
author Luis Falcon <falcon@gnu.org>
date Thu, 29 Oct 2015 12:27:50 +0000
parents 0a4351e058f3
children 9cee9edd08de
files tryton/health/health.py
diffstat 1 files changed, 3 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/tryton/health/health.py
+++ b/tryton/health/health.py
@@ -4263,16 +4263,10 @@
             help="Duration of the evaluation, in minutes"),
         'evaluation_duration')
 
-    # release 3.0 (Tryton 3.6)
-    #wait_time = fields.Function(fields.TimeDelta('Patient wait time'),
-            #help="How long the patient waited"),
-            #'get_wait_time')
+    wait_time = fields.Function(fields.TimeDelta('Patient wait time',
+        help="How long the patient waited"),
+        'get_wait_time')
     
-    # release 2.8
-    wait_time = fields.Function(fields.Char('Patient wait time',
-        help="How long the patient waited, in minutes"),
-        'get_string_wait_time')
-
     state = fields.Selection([
         ('in_progress', 'In progress'),
         ('done', 'Done'),