[FIX]mrp : fix the issue when company name with & then Product Cost Structure report not print

bzr revid: mma@tinyerp.com-20121101072511-55g8ouxd8rz1mfw4
This commit is contained in:
Mayur Maheshwari (OpenERP) 2012-11-01 12:55:11 +05:30
parent b006809773
commit 3acc7b4352
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class report_custom(report_rml):
<PageWidth>595.27</PageWidth>
<PageHeight>841.88</PageHeight>
<tableSize>55.00mm,58.00mm,29.00mm,29.00mm,29.00mm</tableSize>
""" % (user_pool.browse(cr, uid, uid).company_id.name)
""" % to_xml(user_pool.browse(cr, uid, uid).company_id.name)
config_stop = """
<report-footer>Generated by OpenERP</report-footer>
</config>