X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=todolist.py;fp=todolist.py;h=6812316a4ae7a3ee073073ff3b2f5a10c19415af;hb=09c43f9cb2d035bd8203e8750e2627995c4e6be9;hp=12743d66bf67784a7cee19d5844bbcf3881165a5;hpb=c35778212d34554596e4dec28946db1d02e9ab57;p=OpenERP%2Ftodolist.git diff --git a/todolist.py b/todolist.py index 12743d6..6812316 100644 --- a/todolist.py +++ b/todolist.py @@ -135,9 +135,14 @@ class Task(osv.Model): "Fields name and description should be different", ), ( - "target_before_milestone_constraint", + "planned_before_milestone_constraint", "CHECK(planned < milestone)", - "The target date should be previous milestone date", + "The planned date should be previous milestone date", + ), + ( + "manday_sup_0_constraint", + "CHECK(manday < 0)", + "The manday should be positive", ), ]