From 07ee5148973162ec554fe66aaeef854660906459 Mon Sep 17 00:00:00 2001 From: William Henrotin Date: Mon, 13 Sep 2021 13:00:11 +0000 Subject: [PATCH] [FIX] product: use correct price field Commit fa034b2a646d9bc761246db62f9e96d565671ce8 removed lst_price on product.template That means we need to check if product is a variant or not to choose the suitable price field. closes odoo/odoo#76503 X-original-commit: c50e7b106b08577228a410e1e34403bd8a6eb80d Signed-off-by: Arnold Moyaux Signed-off-by: William Henrotin --- .../report/product_product_templates.xml | 28 ++++++++++++++++--- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/addons/product/report/product_product_templates.xml b/addons/product/report/product_product_templates.xml index 4635790d275..749f879e14a 100644 --- a/addons/product/report/product_product_templates.xml +++ b/addons/product/report/product_product_templates.xml @@ -21,7 +21,12 @@
- + + + + + +
@@ -38,7 +43,12 @@
- + + + + + +
@@ -64,7 +74,12 @@
- + + + + + +
@@ -98,7 +113,12 @@
- + + + + + +