[MERGE] fix when scheduling project without start date'

bzr revid: fp@tinyerp.com-20121113075426-vrg3dnretxlf11ec
This commit is contained in:
Fabien Pinckaers
2012-11-13 08:54:26 +01:00
+1 -1
View File
@@ -474,7 +474,7 @@ def Project():
resource = %s
""" % (
project.id,
project.date_start, working_days,
project.date_start or time.strftime('%Y-%m-%d'), working_days,
'|'.join(['User_'+str(x) for x in puids])
)
vacation = calendar_id and tuple(resource_pool.compute_vacation(cr, uid, calendar_id, context=context)) or False