projects
/
OpenERP
/
todolist.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modification contraintes : planned <= milestone et target <= milestone
[OpenERP/todolist.git]
/
todolist.py
diff --git
a/todolist.py
b/todolist.py
index
9d3efb4
..
57adec9
100644
(file)
--- a/
todolist.py
+++ b/
todolist.py
@@
-88,7
+88,7
@@
class Container(osv.Model):
),
(
"target_before_milestone_constraint",
),
(
"target_before_milestone_constraint",
- "CHECK(target < milestone)",
+ "CHECK(target <= milestone)",
"The target date should be previous milestone date",
),
]
"The target date should be previous milestone date",
),
]
@@
-154,7
+154,7
@@
class Task(osv.Model):
),
(
"planned_before_milestone_constraint",
),
(
"planned_before_milestone_constraint",
- "CHECK(planned < milestone)",
+ "CHECK(planned <= milestone)",
"The planned date should be previous milestone date",
),
(
"The planned date should be previous milestone date",
),
(