From 6d4334026c2df15386b17b51d59a8529afed8614 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Sat, 30 Apr 2022 20:14:23 +0200 Subject: [PATCH] [FIX] stock_picking_report_valued_sale_mrp: Avoid inheritance problem odoo.tools.convert.ParseError: "Element '' cannot be located in parent view --- .../report/stock_picking_report_valued.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock_picking_report_valued_sale_mrp/report/stock_picking_report_valued.xml b/stock_picking_report_valued_sale_mrp/report/stock_picking_report_valued.xml index 60ecdc5..ea9511a 100644 --- a/stock_picking_report_valued_sale_mrp/report/stock_picking_report_valued.xml +++ b/stock_picking_report_valued_sale_mrp/report/stock_picking_report_valued.xml @@ -13,7 +13,7 @@ name="t-if" >o.valued and o.sale_id and o.move_line_ids and (move_line.phantom_line or not move_line.phantom_product_id) - + o.move_line_ids.filtered(lambda x: not x.phantom_product_id or x.phantom_line)