[FIX] Fixed a typo in project.py exception message
This commit is contained in:
parent
d9c9ac72da
commit
209ce6f48c
|
@ -319,7 +319,7 @@ class project(osv.osv):
|
|||
return True
|
||||
|
||||
_constraints = [
|
||||
(_check_dates, 'Error! project start-date must be lower then project end-date.', ['date_start', 'date'])
|
||||
(_check_dates, 'Error! project start-date must be lower than project end-date.', ['date_start', 'date'])
|
||||
]
|
||||
|
||||
def set_template(self, cr, uid, ids, context=None):
|
||||
|
@ -891,7 +891,7 @@ class task(base_stage, osv.osv):
|
|||
|
||||
_constraints = [
|
||||
(_check_recursion, 'Error ! You cannot create recursive tasks.', ['parent_ids']),
|
||||
(_check_dates, 'Error ! Task end-date must be greater then task start-date', ['date_start','date_end'])
|
||||
(_check_dates, 'Error ! Task end-date must be greater than task start-date', ['date_start','date_end'])
|
||||
]
|
||||
|
||||
# Override view according to the company definition
|
||||
|
|
Loading…
Reference in New Issue