From 06921973c0f39d6e575a738993dce35ef89163fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nshimiyimana=20S=C3=A9na?= Date: Thu, 25 May 2023 15:32:55 +0200 Subject: [PATCH] [FIX] l10n_it_stock_ddt: account for pricelist in the DDT report MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: When printing DDT documents for a delivery with a pricelist applied, the total value shown comes from the product's original price and not the modified pricelist price. Setup: - install `sale_management` and `l10n_it_stock_ddt` - have a product P with a price A - create a pricelist that where P has a price B Steps to reproduce: - activate DDT report printing - create a quotation set the pricelist you created and the product P - validate the quotation - go to the associated delivery and validate it - print the DDT report You should see that the price mentioned on the DDT report does not account for the pricelist. (price A is shown, instead of B) opw-3171295 closes odoo/odoo#134017 X-original-commit: 9bdb0ed25dcef3f651a65abf0c4a8d9ce4e27851 Signed-off-by: Josse Colpaert Signed-off-by: Séna Serge Nshimiyimana (sesn) --- addons/l10n_it_stock_ddt/report/l10n_it_ddt_report.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/addons/l10n_it_stock_ddt/report/l10n_it_ddt_report.xml b/addons/l10n_it_stock_ddt/report/l10n_it_ddt_report.xml index e5e305b9738..f972fddee3d 100644 --- a/addons/l10n_it_stock_ddt/report/l10n_it_ddt_report.xml +++ b/addons/l10n_it_stock_ddt/report/l10n_it_ddt_report.xml @@ -120,7 +120,12 @@ - + + + + + +