[FIX] event: fixed xml_id not existing.

bzr revid: tde@openerp.com-20120919130514-oeto9qfiujd3v71e
This commit is contained in:
Thibault Delavallée 2012-09-19 15:05:14 +02:00
parent 4312649fb5
commit 378966f9f1
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class event_event(osv.osv):
def button_done_send_note(self, cr, uid, ids, context=None):
message = _("Event has been <b>done</b>.")
self.message_post(cr, uid, ids, body=message, subtype_xml_id="event_subtype_closed", context=context)
self.message_post(cr, uid, ids, body=message, context=context)
return True
def button_confirm_send_note(self, cr, uid, ids, context=None):