diff options
| author | Kirti Savalia (OpenERP) <ksa@tinyerp.com> | 2011-09-05 15:08:44 +0530 |
|---|---|---|
| committer | Kirti Savalia (OpenERP) <ksa@tinyerp.com> | 2011-09-05 15:08:44 +0530 |
| commit | a225afcb9fd7cb36dac48c6a9bceacdaa2db79ab (patch) | |
| tree | e464613ec46faeaa1d655bdc6bdeb5638e22391a | |
| parent | b7a245726e0a0ac97dbd968b201c4331bb7dd9f9 (diff) | |
[IMP]:for workcenter name
bzr revid: ksa@tinyerp.com-20110905093844-56zkvoqs2oio6li5
| -rw-r--r-- | addons/mrp/report/price.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 = '<row>' - xml += "<col para='yes'>" + to_xml(tools.ustr(workcenter.name)) + '</col>' + xml += "<col para='yes'>" + to_xml(tools.ustr(workcenter.name)).replace('&', '&') + '</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>""" |
