[FIX] project: fix error on ``schedule_tasks`` when there is no resource available on project
bzr revid: xal@openerp.com-20131219154546-xlbgqfkc34ndf8kp
This commit is contained in:
commit
3f7f02d508
|
@ -492,7 +492,7 @@ def Project():
|
|||
""" % (
|
||||
project.id,
|
||||
project.date_start or time.strftime('%Y-%m-%d'), working_days,
|
||||
'|'.join(['User_'+str(x) for x in puids])
|
||||
'|'.join(['User_'+str(x) for x in puids]) or 'None'
|
||||
)
|
||||
vacation = calendar_id and tuple(resource_pool.compute_vacation(cr, uid, calendar_id, context=context)) or False
|
||||
if vacation:
|
||||
|
|
Loading…
Reference in New Issue