[FIX] Project_timesheet : Wrong synchro on analytic line creation fro tasks(for name).
lp bug: https://launchpad.net/bugs/447402 fixed bzr revid: jvo@tinyerp.com-20091012123310-gih8iz51zuxmlxs4
This commit is contained in:
parent
6f68bf76ff
commit
2a2bb45c5e
|
@ -84,7 +84,7 @@ class project_work(osv.osv):
|
|||
if line_id in list_avail_ids:
|
||||
obj = self.pool.get('hr.analytic.timesheet')
|
||||
if 'name' in vals:
|
||||
vals_line['name'] = '%s: %s' % (tools.ustr(task.name), tools.ustr(vals['name']) or '/')
|
||||
vals_line['name'] = '%s: %s' % (tools.ustr(task.task_id.name), tools.ustr(vals['name']) or '/')
|
||||
if 'user_id' in vals:
|
||||
vals_line['user_id'] = vals['user_id']
|
||||
if 'date' in vals:
|
||||
|
|
Loading…
Reference in New Issue