Commit edcbbb86 authored by Jérome Perrin's avatar Jérome Perrin

remove stop date constraint, stop date is acquired from start date, so checking

that start date is set is enough. And PropertyExistence does not check
acquisition, so it's a problem if stop date is not defined but just acquired.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22340 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1c398908
......@@ -65,13 +65,6 @@ class TaskConstraint:
'message_property_not_set': 'Begin Date must be defined',
'message_no_such_property' : 'Begin Date must be defined'
},
{ 'id' : 'stop_date_existence',
'description' : 'Property stop date must be defined',
'type' : 'PropertyExistence',
'stop_date' : None,
'message_property_not_set': 'End Date must be defined',
'message_no_such_property' : 'End Date must be defined'
},
{ 'id' : 'date_coherency',
'description' : 'Stop Date must be after Start Date',
'type' : 'TALESConstraint',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment