projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b7cfd8
)
[IMP]:xml predefined entity for workcenter name
author
Kirti Savalia (OpenERP)
<ksa@tinyerp.com>
Mon, 5 Sep 2011 08:57:14 +0000
(14:27 +0530)
committer
Kirti Savalia (OpenERP)
<ksa@tinyerp.com>
Mon, 5 Sep 2011 08:57:14 +0000
(14:27 +0530)
bzr revid: ksa@tinyerp.com-
20110905085714
-000jnoffavrrgvvw
addons/mrp/report/price.py
patch
|
blob
|
history
diff --git
a/addons/mrp/report/price.py
b/addons/mrp/report/price.py
index
28899b7
..
1cf56ec
100644
(file)
--- 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'>" + 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>"""