[IMP]: for header right xml code

bzr revid: ksa@tinyerp.com-20110902073311-6d0vf8e21cl0cmed
This commit is contained in:
Kirti Savalia (OpenERP)
2011-09-02 13:03:11 +05:30
parent 4441964780
commit 9f4c7536b5
+1 -1
View File
@@ -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 = "<title>%s</title>" %(_("Cost Structure"))
title += "<title>%s</title>" %to_xml(tools.ustr(product.name))
title += "<title>%s</title>" % (to_xml(tools.ustr(product.name))).replace('&', '&amp;')
xml += "<lines style='header'>" + title + prod_header + "</lines>"
if not bom_id:
total_strd = number * product.standard_price