From f1edebeaeed97a1615ad22ca9347a43d270645c8 Mon Sep 17 00:00:00 2001 From: paso-odoo Date: Wed, 19 Apr 2023 10:21:16 +0000 Subject: [PATCH] [FIX] sale: fix singleton issue on portal view of sale order If applied, this commit will solve the issue of QWebException when the user clicks on the 'Customer Preview' button and the sale order have a section in 'Order Lines' and the pricelist is not set. Steps to produce: - Create a sale order without a pricelist. - Add a section in Order Lines. - Click on the 'Customer Preview' button. Solve the issue by using the sale order's currency instead of the pricelist's currency. sentry - 4092292347 see - https://tinyurl.com/26gt5hoh closes odoo/odoo#119361 X-original-commit: ad0ed4b9ff34ae8f785435845864dc5dbd6d5e0a Signed-off-by: Victor Feyens (vfe) --- addons/sale/views/sale_portal_templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale/views/sale_portal_templates.xml b/addons/sale/views/sale_portal_templates.xml index 091bab172aa..cbf25180eed 100644 --- a/addons/sale/views/sale_portal_templates.xml +++ b/addons/sale/views/sale_portal_templates.xml @@ -551,7 +551,7 @@ Subtotal