X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=todolist.py;fp=todolist.py;h=57adec93a6276653a6fb9d16a3f6f6a4a20e943c;hb=bf87c71690edf6e6cefb98bacb4e4a78d96eb60b;hp=9d3efb40100e758b4aaf3aadb32670146bfb58d9;hpb=def0af081acae6d149bfbca3e86185b6ef57dcac;p=OpenERP%2Ftodolist.git diff --git a/todolist.py b/todolist.py index 9d3efb4..57adec9 100644 --- a/todolist.py +++ b/todolist.py @@ -88,7 +88,7 @@ class Container(osv.Model): ), ( "target_before_milestone_constraint", - "CHECK(target < milestone)", + "CHECK(target <= milestone)", "The target date should be previous milestone date", ), ] @@ -154,7 +154,7 @@ class Task(osv.Model): ), ( "planned_before_milestone_constraint", - "CHECK(planned < milestone)", + "CHECK(planned <= milestone)", "The planned date should be previous milestone date", ), (