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:
committed by
Ernesto Tejeda
parent
3f2d9d2bf2
commit
bdbe7cdf6a
@@ -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",
|
||||
|
||||
@@ -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