diff --git a/addons/stock/report/picking.rml b/addons/stock/report/picking.rml index 21fa3407e26..707ba3646d2 100644 --- a/addons/stock/report/picking.rml +++ b/addons/stock/report/picking.rml @@ -286,7 +286,9 @@ [[ (move_lines.prodlot_id and move_lines.prodlot_id.name) or '' ]] - [[ move_lines.state ]] + [[ (picking.type == 'in' or removeParentNode('para')) ]][[ move_lines.state == 'done' and 'Received' or move_lines.state]] + [[ (picking.type == 'out' or removeParentNode('para')) ]][[ move_lines.state == 'done' and 'Delivered' or move_lines.state]] + [[ (picking.type == 'internal' or removeParentNode('para')) ]][[ move_lines.state == 'done' and 'Transferred' or move_lines.state]] [[ (move_lines.location_id and move_lines.location_id.name) or '' ]] diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index 3dc5fe184b4..928965e70bc 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -705,15 +705,16 @@
-
@@ -1416,12 +1417,12 @@ - +