From 4c56c7644acd36d20cfbc38d7068378bdd6c4449 Mon Sep 17 00:00:00 2001 From: "psi (Open ERP)" Date: Thu, 6 May 2010 18:57:14 +0530 Subject: [PATCH] [IMP] scrum: change the state of the merged backlogs to cancel bzr revid: psi@tinyerp.co.in-20100506132714-od1a4v8fmoqnrz9r --- addons/scrum/wizard/scrum_backlog_merger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/scrum/wizard/scrum_backlog_merger.py b/addons/scrum/wizard/scrum_backlog_merger.py index e061504965f..6bf028a1de0 100644 --- a/addons/scrum/wizard/scrum_backlog_merger.py +++ b/addons/scrum/wizard/scrum_backlog_merger.py @@ -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()