[MERGE] forward port branch 8.0 up to 954fb6d

This commit is contained in:
Christophe Simonis
2016-11-22 11:26:59 +01:00
@@ -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"):