Merge PR #193 into 13.0

Signed-off-by pedrobaeza
This commit is contained in:
OCA-git-bot
2022-04-30 18:18:26 +00:00
2 changed files with 2 additions and 1 deletions

View File

@@ -8,6 +8,7 @@
"category": "Delivery",
"author": "Camptocamp, Odoo Community Association (OCA)",
"license": "AGPL-3",
"development_status": "Alpha",
"website": "https://github.com/OCA/stock-logistics-reporting",
"depends": [
"delivery_line_sale_line_position",

View File

@@ -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>