From aeeed902fac67736ac33272713997f7f19fa3ab7 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Fri, 11 May 2012 17:42:20 +0200 Subject: [PATCH] [IMP] stock: usability changes bzr revid: qdp-launchpad@openerp.com-20120511154220-njd3omozz3882fyl --- addons/stock/report/picking.rml | 4 +++- addons/stock/stock_view.xml | 17 +++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) 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 @@ - +