[FIX] website_quote: when paying from the frontend, do not explicitly set the partner_country_id; it is automatically handled by the payment.transaction create is the partner is set

This commit is contained in:
Damien Bouvy
2015-09-08 16:31:54 +02:00
parent f007287bb8
commit 95b6bafec9
-1
View File
@@ -187,7 +187,6 @@ class sale_quote(http.Controller):
'amount': order.amount_total,
'currency_id': order.pricelist_id.currency_id.id,
'partner_id': order.partner_id.id,
'partner_country_id': order.partner_id.country_id.id,
'reference': order.name,
'sale_order_id': order.id,
'callback_eval': "self.env['sale.order']._confirm_online_quote(self.sale_order_id.id, self)"