From c8445d32ae3ce804c69231016faca4d37317fefc Mon Sep 17 00:00:00 2001 From: Djamel Touati Date: Thu, 5 Oct 2023 12:07:33 +0200 Subject: [PATCH] =?UTF-8?q?[FIX]=20stock:=20print=20ZPL=20label=20with=20?= =?UTF-8?q?=E2=80=9Cproduct.product=E2=80=9D=20price?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Steps to reproduce the bug: - Create a storable product “P1”: - set sales price: 10 - Go to attributes & variants tab: - Color: red & blue - Size: S - Go to Red attribute and add extra price: 5 - Go to the product variant “P1 red S” - Print label: - ZPL with price Problem: The product.template price is printed instead of the product variant because we use “list_price” instead of “lst_price” opw-3537277 closes odoo/odoo#137786 X-original-commit: ea632652be5d4b1cbdf19f68c1a4db1ffc3cfb99 Signed-off-by: Quentin Wolfs (quwo) Signed-off-by: Djamel Touati (otd) --- addons/stock/report/product_templates.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/stock/report/product_templates.xml b/addons/stock/report/product_templates.xml index 1f14b85d109..a363c22c7bf 100644 --- a/addons/stock/report/product_templates.xml +++ b/addons/stock/report/product_templates.xml @@ -21,10 +21,10 @@ ^FO600,100,1 ^CI28 -^A0N,66,48^FH^FD^FS +^A0N,66,48^FH^FD^FS -^A0N,66,48^FH^FD^FS +^A0N,66,48^FH^FD^FS