projects
/
OpenERP
/
todolist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42942e6
)
Ajout contrainte pour taches : planned < milestone
author
Alicia FLOREZ
<alicflorez@gmail.com>
Thu, 21 Mar 2013 16:24:54 +0000
(17:24 +0100)
committer
Alicia FLOREZ
<alicflorez@gmail.com>
Thu, 21 Mar 2013 16:24:54 +0000
(17:24 +0100)
todolist.py
patch
|
blob
|
history
diff --git
a/todolist.py
b/todolist.py
index
0209a9b
..
12743d6
100644
(file)
--- a/
todolist.py
+++ b/
todolist.py
@@
-134,6
+134,11
@@
class Task(osv.Model):
"CHECK(name <> description)",
"Fields name and description should be different",
),
+ (
+ "target_before_milestone_constraint",
+ "CHECK(planned < milestone)",
+ "The target date should be previous milestone date",
+ ),
]