mirror of
https://github.com/OCA/stock-logistics-reporting.git
synced 2025-02-16 17:13:21 +02:00
[FIX] stock_picking_report_valued_sale_mrp: Avoid inheritance problem
odoo.tools.convert.ParseError: "Element '<xpath expr="//tr[@t-foreach='o.move_line_ids']">' cannot be located in parent view
This commit is contained in:
@@ -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)</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//tr[@t-foreach='o.move_line_ids']" position="attributes">
|
||||
<xpath expr="//tr[@t-as='move_line']" position="attributes">
|
||||
<attribute
|
||||
name="t-foreach"
|
||||
>o.move_line_ids.filtered(lambda x: not x.phantom_product_id or x.phantom_line)</attribute>
|
||||
|
||||
Reference in New Issue
Block a user