[FIX] website_event_sale: take taxes from product_id_change into account
This commit is contained in:
parent
b1f4a61705
commit
36d3979e0d
|
@ -72,6 +72,8 @@ class website_event(website_event):
|
|||
_values = order_line_obj.product_id_change(
|
||||
request.cr, SUPERUSER_ID, [], pricelist_id, ticket.product_id.id,
|
||||
partner_id=partner_id, context=request.context)['value']
|
||||
if 'tax_id' in _values:
|
||||
_values['tax_id'] = [(6, 0, _values['tax_id'])]
|
||||
_values.update(values)
|
||||
|
||||
order_line_id = order_line_obj.create(request.cr, SUPERUSER_ID, _values, context=request.context)
|
||||
|
|
Loading…
Reference in New Issue