diff --git a/addons/event_sale/event_sale.py b/addons/event_sale/event_sale.py index e1fb57fb93c..8bacd37fc15 100644 --- a/addons/event_sale/event_sale.py +++ b/addons/event_sale/event_sale.py @@ -86,7 +86,7 @@ class sale_order_line(osv.osv): 'event_id': order_line.event_id.id, } message = _("The registration has been created for event %s from the Sale Order %s. ") % (order_line.event_id.name, order_line.order_id.name) - context.update({'mail_create_nolog': True, 'message': message }) + context.update({'mail_create_nolog': True}) registration_id = registration_obj.create(cr, uid, dic, context=context) registration_obj.message_post(cr, uid, [registration_id], body=message, context=context) return super(sale_order_line, self).button_confirm(cr, uid, ids, context=context)