diff --git a/addons/stock/report/lot_location.rml b/addons/stock/report/lot_location.rml index 94cc3f51340..74c47c1f0a4 100644 --- a/addons/stock/report/lot_location.rml +++ b/addons/stock/report/lot_location.rml @@ -66,7 +66,7 @@ [[ repeatIn(process(o.id),'ob') ]] - [[ ob['product'] or removeParentNode('blockTable') ]] Location + [[ not ob['product'] and removeParentNode('blockTable') ]] Location Product Quantity diff --git a/addons/stock/report/lot_overview.rml b/addons/stock/report/lot_overview.rml index ad05b011757..74026aea1a7 100644 --- a/addons/stock/report/lot_overview.rml +++ b/addons/stock/report/lot_overview.rml @@ -59,7 +59,7 @@ [[ repeatIn(process(o.id),'ob') ]] - [[ ob['product'] or removeParentNode('blockTable') ]] Location + [[ not ob['product'] and removeParentNode('blockTable') ]] Location Product Variants Quantity diff --git a/addons/stock/report/lot_overview_all.rml b/addons/stock/report/lot_overview_all.rml index 0df08385c9a..04d9d066343 100644 --- a/addons/stock/report/lot_overview_all.rml +++ b/addons/stock/report/lot_overview_all.rml @@ -58,7 +58,7 @@ [[ repeatIn(process(o.id),'ob') ]] - [[ ob['product'] or removeParentNode('blockTable') ]] Location + [[ not ob['product'] and removeParentNode('blockTable') ]] Location Code Product Variants