[IMP]:for workcenter name

bzr revid: ksa@tinyerp.com-20110905093844-56zkvoqs2oio6li5
This commit is contained in:
Kirti Savalia (OpenERP) 2011-09-05 15:08:44 +05:30
parent b7a245726e
commit a225afcb9f
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class report_custom(report_rml):
cost_hour = wrk['hour']*workcenter.costs_hour
total = cost_cycle + cost_hour
xml = '<row>'
xml += "<col para='yes'>" + to_xml(tools.ustr(workcenter.name)) + '</col>'
xml += "<col para='yes'>" + to_xml(tools.ustr(workcenter.name)).replace('&', '&amp;') + '</col>'
xml += "<col/>"
xml += """<col f='yes'>"""+rml_obj.formatLang(cost_cycle)+' '+ company_currency.symbol + """</col>"""
xml += """<col f='yes'>"""+rml_obj.formatLang(cost_hour)+' '+ company_currency.symbol + """</col>"""