Modification contraintes : planned <= milestone et target <= milestone V1.0
authorAlicia FLOREZ <alicflorez@gmail.com>
Tue, 2 Apr 2013 10:02:07 +0000 (12:02 +0200)
committerAlicia FLOREZ <alicflorez@gmail.com>
Tue, 2 Apr 2013 10:02:07 +0000 (12:02 +0200)
todolist.py

index 9d3efb4..57adec9 100644 (file)
@@ -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",
         ),
         (