[CLEAN] remove duplicate method _check_dates in project

bzr revid: tfr@openerp.com-20110418120034-jkmu9jar833b2w2d
This commit is contained in:
tfr@openerp.com 2011-04-18 14:00:34 +02:00
parent 25da1b63a3
commit 2c3c064a22
1 changed files with 0 additions and 6 deletions

View File

@ -405,12 +405,6 @@ class task(osv.osv):
default.update({'name':new_name})
return super(task, self).copy_data(cr, uid, id, default, context)
def _check_dates(self, cr, uid, ids, context=None):
task = self.read(cr, uid, ids[0], ['date_start', 'date_end'])
if task['date_start'] and task['date_end']:
if task['date_start'] > task['date_end']:
return False
return True
def _is_template(self, cr, uid, ids, field_name, arg, context=None):
res = {}