From b288bf39dff75faeb70b1cf1d7bc320050e63b46 Mon Sep 17 00:00:00 2001 From: "Achraf (abz)" Date: Wed, 22 Jun 2022 10:49:55 +0000 Subject: [PATCH] [FIX] website_sale: Use company bank instead of acquirer to generate qr code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit wire transfer was using this line to generate qr code `payment_tx_id.acquirer_id.sudo().journal_id.bank_account_id.build_qr_code_base64` But this is a problem has transfert doesn't use `journal_id`. Instead we can use the bank_id of the company's partner_id. opw-2855065 closes odoo/odoo#95279 X-original-commit: 15a5bc956ad865d4a6ebb001b5767a5009533782 Signed-off-by: William André (wan) --- addons/website_sale/views/templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index 44a860dc706..55eacbf511a 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -1954,7 +1954,7 @@ Communication:
- +

Or scan me with your banking app.