From 48efb3b4d68080948396d2bf2352fc15062d2338 Mon Sep 17 00:00:00 2001 From: "Farid Ghanchi (OpenERP)" Date: Fri, 17 May 2013 15:57:32 +0530 Subject: [PATCH] [IMP] Remove override message_post methode bzr revid: ggh@tinyerp.com-20130517102732-ik68fh7bfv40lmee --- addons/event_sale/event_sale.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/addons/event_sale/event_sale.py b/addons/event_sale/event_sale.py index 03da1458f04..7d5518cddea 100644 --- a/addons/event_sale/event_sale.py +++ b/addons/event_sale/event_sale.py @@ -92,12 +92,3 @@ class sale_order_line(osv.osv): return super(sale_order_line, self).button_confirm(cr, uid, ids, context=context) sale_order_line() - -class event_registration(osv.osv): - _inherit = 'event.registration' - - def message_post(self, cr, uid, thread_id, body='', subject=None, type='notification', subtype=None, parent_id=False, attachments=None, context=None, content_subtype='html', **kwargs): - """ Overrides mail_thread message_post so that we can set the message note when - a new registration create on the event sale. - """ - return super(event_registration, self).message_post(cr, uid, thread_id, body=body, subject=subject, type=type, subtype=subtype, parent_id=parent_id, attachments=attachments, context=context, content_subtype=content_subtype, **kwargs)