[IMP] state changed in kanban view of task then notification is came on task.

bzr revid: bth@tinyerp.com-20120402132635-wuynl1jl92mffzgd
This commit is contained in:
Bhumi Thakkar (Open ERP)
2012-04-02 18:56:35 +05:30
parent d200c67535
commit 72961b7fcf
+1
View File
@@ -1105,6 +1105,7 @@ class task(osv.osv):
result = super(task,self).write(cr, uid, ids, vals, context=context)
if ('type_id' in vals) or ('remaining_hours' in vals) or ('user_id' in vals) or ('state' in vals) or ('kanban_state' in vals):
self._store_history(cr, uid, ids, context=context)
self.state_change_send_note(cr, uid, ids, context)
return result
def unlink(self, cr, uid, ids, context=None):