diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-11-22 11:26:59 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-11-22 11:26:59 +0100 |
| commit | 67c9e4f64367e9c19a631fb9126222be620cfb20 (patch) | |
| tree | 39f0a2185d18e35498d9ccac2abe4c3093c83912 | |
| parent | f163f76b859e34f324c7cc153cb4057e291f5b66 (diff) | |
| parent | 954fb6da3c1ccc7453e434eaa652785df1988cd7 (diff) | |
[MERGE] forward port branch 8.0 up to 954fb6d
| -rw-r--r-- | addons/website_event_sale/models/sale_order.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/website_event_sale/models/sale_order.py b/addons/website_event_sale/models/sale_order.py index ae1f00406d4..33efa828034 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"): |
