Skip to content
Snippets Groups Projects
Commit 96d316fd authored by Jeremy Kersten's avatar Jeremy Kersten
Browse files

[FIX] website_sale: recompute fiscal position at checkout

Method refactored by commit 94716a3f and 198164dd
parent c867927b
No related branches found
No related tags found
No related merge requests found
......@@ -625,6 +625,7 @@ class website_sale(http.Controller):
partner_id = orm_partner.create(cr, SUPERUSER_ID, billing_info, context=context)
order.write({'partner_id': partner_id, 'partner_invoice_id': partner_id})
order_obj.onchange_partner_id(cr, SUPERUSER_ID, [order.id], context=context)
order_obj.onchange_partner_shipping_id(cr, SUPERUSER_ID, [order.id], context=context)
# create a new shipping partner
if checkout.get('shipping_id') == -1:
......
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