[FIX] Project : Task delegation was calling write() wrongly

lp bug: https://launchpad.net/bugs/504781 fixed

bzr revid: jvo@tinyerp.com-20100108150058-5ovjgcfzrxbtc89l
This commit is contained in:
Jay (Open ERP)
2010-01-08 20:30:58 +05:30
parent 4c338ea12f
commit 294632110d
+1 -1
View File
@@ -64,7 +64,7 @@ class wizard_delegate(wizard.interface):
'child_ids': [],
'work_ids': []
})
task_obj.write(cr, uid, data['id'], {
task_obj.write(cr, uid, [data['id']], {
'remaining_hours': data['form']['planned_hours_me'],
'name': newname
})