[FIX] called case_reset_send_note method from crm_case class.

bzr revid: bth@tinyerp.com-20120315133252-lg6x6u5qkrzzjqey
This commit is contained in:
Bhumi Thakkar (Open ERP)
2012-03-15 19:02:52 +05:30
parent 2c84934e53
commit 39c03d296c
+1
View File
@@ -483,6 +483,7 @@ class crm_case(crm_base):
cases = self.browse(cr, uid, ids)
cases[0].state # to fill the browse record cache
self.write(cr, uid, ids, {'state': state, 'active': True})
self.case_reset_send_note(cr, uid, ids, context=context)
self._action(cr, uid, cases, state)
return True