From 95b6bafec93075efb2bf19212bf5b98b3f980905 Mon Sep 17 00:00:00 2001 From: Damien Bouvy Date: Tue, 8 Sep 2015 16:31:54 +0200 Subject: [PATCH] [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 --- addons/website_quote/controllers/main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/website_quote/controllers/main.py b/addons/website_quote/controllers/main.py index cfb6babb65a..edddb4f0ada 100644 --- a/addons/website_quote/controllers/main.py +++ b/addons/website_quote/controllers/main.py @@ -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)"