From a225afcb9fd7cb36dac48c6a9bceacdaa2db79ab Mon Sep 17 00:00:00 2001 From: "Kirti Savalia (OpenERP)" Date: Mon, 5 Sep 2011 15:08:44 +0530 Subject: [PATCH] [IMP]:for workcenter name bzr revid: ksa@tinyerp.com-20110905093844-56zkvoqs2oio6li5 --- 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 1cf56ec3732..1e087855f2b 100644 --- a/addons/mrp/report/price.py +++ b/addons/mrp/report/price.py @@ -83,7 +83,7 @@ class report_custom(report_rml): cost_hour = wrk['hour']*workcenter.costs_hour total = cost_cycle + cost_hour xml = '' - xml += "" + to_xml(tools.ustr(workcenter.name)) + '' + xml += "" + to_xml(tools.ustr(workcenter.name)).replace('&', '&') + '' xml += "" xml += """"""+rml_obj.formatLang(cost_cycle)+' '+ company_currency.symbol + """""" xml += """"""+rml_obj.formatLang(cost_hour)+' '+ company_currency.symbol + """"""