Regression: Reports fail with accented characters in the company header
Bug #662598 reported by
Dukai Gábor
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) | Status tracked in Trunk | |||||
5.0 |
Confirmed
|
Medium
|
Unassigned | |||
Trunk |
Confirmed
|
Medium
|
Jay Vora (Serpent Consulting Services) |
Bug Description
Hi!
5.0 latest bzr.
Reports can't be created if the company's header has accented characters in it. Try with a picking, for example.
This regression happened somewhere between rev 2116 and 2143.
Related branches
Changed in openobject-server: | |
assignee: | nobody → Jay (OpenERP) (jvo-openerp) |
Changed in openobject-server: | |
status: | New → Confirmed |
summary: |
Regression: Reports fail with accented characters in the company header - (5.0) |
To post a comment you must log in.
Traceback (most recent call last): web_services. py", line 683, in go report_ sxw.py" , line 365, in create report_ sxw.py" , line 427, in create_source_pdf single_ pdf(cr, uid, ids, data, report_xml, context) report_ sxw.py" , line 448, in create_single_pdf doc(etree. tostring( processed_ rml),rml_ parser. localcontext, logo,title. encode( 'utf8') ) interface. py", line 183, in create_pdf render/ render. py", line 50, in render render/ rml.py" , line 41, in _render parseNode( self.rml, self.localcontext, images= self.bin_ datas, path=self. path,title= self.title) render/ rml2pdf/ trml2pdf. py", line 791, in parseNode render/ rml2pdf/ trml2pdf. py", line 205, in render obj.render( el) render/ rml2pdf/ trml2pdf. py", line 785, in render doc_tmpl. build(fis) lib/python2. 6/dist- packages/ reportlab- 2.4-py2. 6-linux- x86_64. egg/reportlab/ platypus/ doctemplate. py", line 874, in build clean_hanging( ) lib/python2. 6/dist- packages/ reportlab- 2.4-py2. 6-linux- x86_64. egg/reportlab/ platypus/ doctemplate. py", line 509, in clean_hanging handle_ flowable( self._hanging) lib/python2. 6/dist- packages/ reportlab- 2.4-py2. 6-linux- x86_64. egg/reportlab/ platypus/ doctemplate. py", line 756, in handle_flowable lib/python2. 6/dist- packages/ reportlab- 2.4-py2. 6-linux- x86_64. egg/reportlab/ platypus/ doctemplate. py", line 140, in apply doc,arn) (*args) lib/python2. 6/dist- packages/ reportlab- 2.4-py2. 6-linux- x86_64. egg/reportlab/ platypus/ doctemplate. py", line 534, in handle_pageBegin pageTemplate. onPage( self.canv, self) render/ rml2pdf/ trml2pdf. py", line 448, in render render( self.node) render/ rml2pdf/ trml2pdf. py", line 433, in render render/ rml2pdf/ trml2pdf. py", line 249, in _drawString self._textual( node, **v) render/ rml2pdf/ trml2pdf. py", line 230, in _textual process_ text(self, text) render/ rml2pdf/ utils.py" , line 112, in _process_text self.localconte xt.get( 'translate' , lambda x:x)(sps.pop(0))) report_ sxw.py" , line 292, in _translate pn].replace( source_ string, translated_string)
File "bin/service/
(result, format) = obj.create(cr, uid, ids, datas, context)
File "bin/report/
fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
File "bin/report/
return self.create_
File "bin/report/
pdf = create_
File "bin/report/
obj.render()
File "bin/report/
result = self._render()
File "bin/report/
return rml2pdf.
File "bin/report/
r.render(fp)
File "bin/report/
pt_
File "report/
self.
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
f.apply(self)
File "/usr/local/
getattr(
File "/usr/local/
self.
File "bin/report/
cnv.
File "bin/report/
tags[n.tag](n)
File "bin/report/
text=
File "bin/report/
rc = utils._
File "bin/report/
result += tools.ustr(
File "bin/report/
piece_list[pn] = piece_list[
TypeError: function takes exactly 5 arguments (1 given)