From 9d780229170d1ad7cc0ce6c8d37d9bf35eb34ca3 Mon Sep 17 00:00:00 2001 From: "Laurent Desausoi (lade)" Date: Fri, 25 Mar 2022 08:51:25 +0000 Subject: [PATCH] [FIX] website_sale_comparison: Product comparison with base unit price error When you compare two products on the ecommerce with the Base Unit Price enabled, an error occurs. To reproduce the issue: 1. Install the eCommerce app. 2. Go to the settings of eCommerce and activate the options "Base Unit Price" and "Product Comparison Tool". 3. On the website, go to the shop, and compare two products. Solution: The XML was passing an invalid argument (unset variable) to the 't-call'. The argument was in fact unecessary as the argument is already defined in the 't-foreach'. opw-2802682 closes odoo/odoo#88294 X-original-commit: 91a3a3803c7569ccb755266c8bec2fd7b2a6c315 Signed-off-by: Yannick Tivisse (yti) Signed-off-by: Desausoi Laurent (lade) --- .../views/website_sale_comparison_template.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_sale_comparison/views/website_sale_comparison_template.xml b/addons/website_sale_comparison/views/website_sale_comparison_template.xml index 3ebee76f732..cdaf9034e9f 100644 --- a/addons/website_sale_comparison/views/website_sale_comparison_template.xml +++ b/addons/website_sale_comparison/views/website_sale_comparison_template.xml @@ -118,7 +118,7 @@ - +