From 4b5afc13301b423fe607d9d5ca2bcca7b15b0b8e Mon Sep 17 00:00:00 2001 From: Udo Spallek Date: Thu, 31 Mar 2011 14:44:31 +0200 Subject: [PATCH] Fix pyson for issue1913 --- work.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/work.py b/work.py index 5adc1348fc..538bf4b7d5 100644 --- a/work.py +++ b/work.py @@ -16,7 +16,7 @@ class TimesheetWork(ModelSQL, ModelView): depends=['timesheet_available', 'active'], states={ 'invisible': Not(Bool(Eval('timesheet_available'))), - 'readonly': Not(Bool(Eval('not active'))), + 'readonly': Not(Bool(Eval('active'))), }) sequence = fields.Integer('Sequence')