From 7b27d67bc46c8e13575136dd14ff798111846778 Mon Sep 17 00:00:00 2001 From: "Randhir Mayatra (OpenERP)" Date: Wed, 21 Nov 2012 11:55:18 +0530 Subject: [PATCH] [IMP] make changes into project bzr revid: rma@tinyerp.com-20121121062518-c8dna23myzgwgbgb --- addons/project/project.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/project/project.py b/addons/project/project.py index b7ec3598c8e..978399a1bd1 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -1106,7 +1106,7 @@ class task(base_stage, osv.osv): def set_kanban_state_blocked(self, cr, uid, ids, context=None): self.write(cr, uid, ids, {'kanban_state': 'blocked'}, context=context) self.case_block_send_note(cr, uid, ids, context=context) - return False + return True def set_kanban_state_normal(self, cr, uid, ids, context=None): self.write(cr, uid, ids, {'kanban_state': 'normal'}, context=context) @@ -1115,7 +1115,7 @@ class task(base_stage, osv.osv): def set_kanban_state_done(self, cr, uid, ids, context=None): self.write(cr, uid, ids, {'kanban_state': 'done'}, context=context) - return True + return False def _store_history(self, cr, uid, ids, context=None): for task in self.browse(cr, uid, ids, context=context):