From f4a6bc875bcb3655fbce35d96d00142c6f65f002 Mon Sep 17 00:00:00 2001 From: "UCO (OpenERP)" <> Date: Tue, 3 Aug 2010 10:51:07 +0530 Subject: [PATCH] [IMP] stock: If the product has no code, it should not display [] product_name bzr revid: sbh@tinyerp.com-20100803052107-oaf5cbq02k4e890l --- addons/stock/report/picking.rml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/stock/report/picking.rml b/addons/stock/report/picking.rml index ef60a79bb66..c5b4237a1d8 100644 --- a/addons/stock/report/picking.rml +++ b/addons/stock/report/picking.rml @@ -245,7 +245,7 @@ - [ [[ move_lines.product_id.default_code ]] ] [[ move_lines.product_id.name ]] [[ move_lines.product_id.variants or '']] + [ [[ (move_lines.product_id.default_code) or removeParentNode('font') ]] ] [[ move_lines.product_id.name ]] [[ move_lines.product_id.variants or '']] [[ (move_lines.prodlot_id and move_lines.prodlot_id.name) or '' ]] @@ -277,7 +277,7 @@ - [ [[ move_lines.product_id.default_code ]] ] [[ move_lines.product_id.name ]] [[ move_lines.product_id.variants or '']] + [ [[ (move_lines.product_id.default_code) or removeParentNode('font') ]] ] [[ move_lines.product_id.name ]] [[ move_lines.product_id.variants or '']] [[ (move_lines.prodlot_id and move_lines.prodlot_id.name) or '' ]]