From c2eb387068b7e04d399f791fb190ad61d8e19cd7 Mon Sep 17 00:00:00 2001 From: "shreya patel (shpa)" Date: Thu, 11 May 2023 05:56:03 +0000 Subject: [PATCH] [FIX] mrp: traceback while printing MO Overview Report Issue ===== A traceback occurs when we print MO Overview Report If the `Receipt` data has no decorator. Steps to reproduce ================= - Create a MO with 0 qty components Availability and set the Scheduled Date in future. - Make a purchase for the MO components with same day Order Deadline, and confirm PO. - Go to the MO Overview Report Click on the PRINT button and you will get the traceback. In this commit, we ignore setting a decorator when the receipt does not have a decorator. TaskID - 3300853 closes odoo/odoo#125009 X-original-commit: f03b22b62427ae8a4bd235c353eaa1ea0bf3ff16 Signed-off-by: Arnold Moyaux (arm) --- addons/mrp/report/mrp_report_mo_overview.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mrp/report/mrp_report_mo_overview.xml b/addons/mrp/report/mrp_report_mo_overview.xml index b086b07e8e2..25de54cbb3b 100644 --- a/addons/mrp/report/mrp_report_mo_overview.xml +++ b/addons/mrp/report/mrp_report_mo_overview.xml @@ -75,7 +75,7 @@ - +