diff --git a/addons/stock/i18n/stock.pot b/addons/stock/i18n/stock.pot index d56adda99db..4207af16cfd 100644 --- a/addons/stock/i18n/stock.pot +++ b/addons/stock/i18n/stock.pot @@ -462,6 +462,7 @@ msgstr "" #: selection:stock.picking,state:0 #: selection:stock.picking.in,state:0 #: selection:stock.picking.out,state:0 +#: report:stock.picking.list:0 msgid "Waiting Availability" msgstr "" @@ -471,6 +472,7 @@ msgstr "" #: selection:stock.move,state:0 #: view:stock.production.lot:0 #: field:stock.production.lot,stock_available:0 +#: report:stock.picking.list:0 msgid "Available" msgstr "" @@ -2999,6 +3001,7 @@ msgstr "" #: selection:stock.move,state:0 #: view:stock.picking:0 #: view:stock.picking.in:0 +#: report:stock.picking.list:0 msgid "Done" msgstr "" diff --git a/addons/stock/report/picking.rml b/addons/stock/report/picking.rml index e0788dcb966..0a17f56fc71 100644 --- a/addons/stock/report/picking.rml +++ b/addons/stock/report/picking.rml @@ -258,7 +258,9 @@ [[ (move_lines.prodlot_id and move_lines.prodlot_id.name) or '' ]] - [[ move_lines.state ]] + Waiting Availability[[ move_lines.state == 'confirmed' and ' ' or removeParentNode('para') ]] + Done[[ move_lines.state == 'done' and ' ' or removeParentNode('para') ]] + Available[[ move_lines.state == 'assigned' and ' ' or removeParentNode('para') ]] [[ (move_lines.location_id and move_lines.location_id.name) or '' ]]