From bdbe7cdf6aa63986d63e1cb94244bce6d1816b45 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 --- stock_picking_report_valued_sale_mrp/__manifest__.py | 2 +- .../report/stock_picking_report_valued.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stock_picking_report_valued_sale_mrp/__manifest__.py b/stock_picking_report_valued_sale_mrp/__manifest__.py index 14abc55..ce515eb 100644 --- a/stock_picking_report_valued_sale_mrp/__manifest__.py +++ b/stock_picking_report_valued_sale_mrp/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Valued picking linked with MRP Kits", "summary": "Allow to summarize the picking related with the selled kits", - "version": "13.0.1.0.1", + "version": "13.0.1.0.2", "development_status": "Beta", "category": "Warehouse Management", "website": "https://github.com/OCA/stock-logistics-reporting", 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)