Skip to content
Snippets Groups Projects
Commit a3cf66de authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[FIX] website_event_sale: remove invalid code chunk introduced during previous...

[FIX] website_event_sale: remove invalid code chunk introduced during previous forward-port (56f2b7ae0f6)
parent 56f2b7ae
No related branches found
No related tags found
No related merge requests found
......@@ -43,8 +43,6 @@ class website_event(website_event):
ticket = ticket_obj.browse(cr, SUPERUSER_ID, ticket_id, context=context)
request.website.sale_get_order(force_create=1)._cart_update(
product_id=ticket.product_id.id, add_qty=quantity, context=dict(context, event_ticket_id=ticket.id))
if 'tax_id' in _values:
_values['tax_id'] = [(6, 0, _values['tax_id'])]
if not sale:
return request.redirect("/event/%s" % event_id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment