From 9f4c7536b57d4fc7dabc805aeac1a3d7e550e102 Mon Sep 17 00:00:00 2001 From: "Kirti Savalia (OpenERP)" Date: Fri, 2 Sep 2011 13:03:11 +0530 Subject: [PATCH] [IMP]: for header right xml code bzr revid: ksa@tinyerp.com-20110902073311-6d0vf8e21cl0cmed --- addons/mrp/report/price.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mrp/report/price.py b/addons/mrp/report/price.py index e28250a2531..c3d7b05658b 100644 --- a/addons/mrp/report/price.py +++ b/addons/mrp/report/price.py @@ -134,7 +134,7 @@ class report_custom(report_rml): for product in product_pool.browse(cr, uid, ids, context=context): bom_id = bom_pool._bom_find(cr, uid, product.id, product.uom_id.id) title = "%s" %(_("Cost Structure")) - title += "%s" %to_xml(tools.ustr(product.name)) + title += "%s" % (to_xml(tools.ustr(product.name))).replace('&', '&') xml += "" + title + prod_header + "" if not bom_id: total_strd = number * product.standard_price