From 31c60007a1361a7fca8a9550f6e6f8d34237d005 Mon Sep 17 00:00:00 2001 From: Hardik Ansodariya Date: Tue, 9 Jul 2013 12:03:19 +0530 Subject: [PATCH] [FIXED] project_issue: Kanban state is not being reset when one change the state of issue (Maintenance case: 594481) bzr revid: han@tinyerp.com-20130709063319-87w3rf3b9kl1u056 --- addons/project_issue/project_issue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py index 280ad1b343b..45de662e7c0 100644 --- a/addons/project_issue/project_issue.py +++ b/addons/project_issue/project_issue.py @@ -406,6 +406,7 @@ class project_issue(base_stage, osv.osv): #Update last action date every time the user changes the stage if 'stage_id' in vals: vals['date_action_last'] = time.strftime(tools.DEFAULT_SERVER_DATETIME_FORMAT) + vals.update(kanban_state='normal') state = self.pool.get('project.task.type').browse(cr, uid, vals['stage_id'], context=context).state for issue in self.browse(cr, uid, ids, context=context): # Change from draft to not draft EXCEPT cancelled: The issue has been opened -> set the opening date