[IMP]:xml predefined entity for workcenter name

bzr revid: ksa@tinyerp.com-20110905085714-000jnoffavrrgvvw
This commit is contained in:
Kirti Savalia (OpenERP) 2011-09-05 14:27:14 +05:30
parent 5b7cfd8c5e
commit b7a245726e
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'>" + workcenter.name + '</col>'
xml += "<col para='yes'>" + to_xml(tools.ustr(workcenter.name)) + '</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>"""