From 7c7ea74fcbe22ca2d5505e905609d50b7c482601 Mon Sep 17 00:00:00 2001 From: Katherine Zaoral Date: Tue, 2 Aug 2022 15:23:53 +0000 Subject: [PATCH] [FIX] sale_stock: invoice reporte lot_values Before this change, the lots info of the products that are shown in the invoice report were always computed, no matter if they were printed or not. It is always computing the lots information, no matter if it will be printed or not With this change, the lost info only is computed when is actually used and will be printed: that is when the user has the sale_stock.group_lot_on_invoice group. closes odoo/odoo#110326 X-original-commit: 28778f93dd92d1e460f1d816323b57792907f7c3 Signed-off-by: William Henrotin (whe) --- addons/stock_account/views/report_invoice.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/stock_account/views/report_invoice.xml b/addons/stock_account/views/report_invoice.xml index 42221dac67f..64f6656b0d9 100644 --- a/addons/stock_account/views/report_invoice.xml +++ b/addons/stock_account/views/report_invoice.xml @@ -2,10 +2,11 @@