[IMP] scrum: change the state of the merged backlogs to cancel

bzr revid: psi@tinyerp.co.in-20100506132714-od1a4v8fmoqnrz9r
This commit is contained in:
psi (Open ERP)
2010-05-06 18:57:14 +05:30
parent 48c53d3d0c
commit 4c56c7644a
+1 -1
View File
@@ -93,7 +93,7 @@ class scrum_backlog_merge(osv.osv_memory):
task_obj.copy(cr, uid, tasks.id, {'product_backlog_id': id_b})
# This is to change the status of the old product backlogs to done state
for backlogs in backlog_obj.browse(cr, uid, context['active_ids'], context=context):
backlog_obj.write(cr, uid, context['active_ids'], {'state':'done'}, context=context)
backlog_obj.write(cr, uid, context['active_ids'], {'state':'cancel'}, context=context)
return {}
scrum_backlog_merge()