diff --git a/addons/website_event_sale/models/sale_order.py b/addons/website_event_sale/models/sale_order.py index 5cb7c486408..165fe553e42 100644 --- a/addons/website_event_sale/models/sale_order.py +++ b/addons/website_event_sale/models/sale_order.py @@ -19,7 +19,9 @@ class sale_order(osv.Model): return self.pool.get('sale.order.line').search(cr, SUPERUSER_ID, domain, context=context) def _website_product_id_change(self, cr, uid, ids, order_id, product_id, qty=0, line_id=None, context=None): - values = super(sale_order,self)._website_product_id_change(cr, uid, ids, order_id, product_id, qty=qty, line_id=line_id, context=None) + values = super(sale_order, self)._website_product_id_change( + cr, uid, ids, order_id, product_id, + qty=qty, line_id=line_id, context=context) event_ticket_id = None if context.get("event_ticket_id"):