← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 695318] Re: [V6-trunck] Print purchase Order

 

Sorry i think to precise it on title. V6-trunck

Also, i find more detail of bug:

When i have second line in rapport (configuration/Company setting) AND logo, print don't work on some reports.
In case we have logo OR second line it work correctly.
Last think we have no message on client-web when the report bug.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/695318

Title:
  [V6-trunck] Print purchase Order

Status in OpenObject Server:
  Incomplete

Bug description:
  When try to print purchase order we have this error on console openerp-server:
[2010-12-29 11:52:15,368][cymerp2010] ERROR:web-services:[01]: Exception: Incorrect padding
[2010-12-29 11:52:15,368][cymerp2010] ERROR:web-services:[02]: Traceback (most recent call last):
[2010-12-29 11:52:15,368][cymerp2010] ERROR:web-services:[03]:   File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 723, in go
[2010-12-29 11:52:15,368][cymerp2010] ERROR:web-services:[04]:     (result, format) = obj.create(cr, uid, ids, datas, context)
[2010-12-29 11:52:15,368][cymerp2010] ERROR:web-services:[05]:   File "/usr/local/lib/python2.6/dist-packages/openerp-server/report/report_sxw.py", line 423, in create
[2010-12-29 11:52:15,369][cymerp2010] ERROR:web-services:[06]:     fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
[2010-12-29 11:52:15,369][cymerp2010] ERROR:web-services:[07]:   File "/usr/local/lib/python2.6/dist-packages/openerp-server/report/report_sxw.py", line 486, in create_source_pdf
[2010-12-29 11:52:15,369][cymerp2010] ERROR:web-services:[08]:     return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
[2010-12-29 11:52:15,369][cymerp2010] ERROR:web-services:[09]:   File "/usr/local/lib/python2.6/dist-packages/openerp-server/report/report_sxw.py", line 506, in create_single_pdf
[2010-12-29 11:52:15,369][cymerp2010] ERROR:web-services:[10]:     logo = base64.decodestring(rml_parser.logo)
[2010-12-29 11:52:15,370][cymerp2010] ERROR:web-services:[11]:   File "/usr/lib/python2.6/base64.py", line 321, in decodestring
[2010-12-29 11:52:15,370][cymerp2010] ERROR:web-services:[12]:     return binascii.a2b_base64(s)
[2010-12-29 11:52:15,370][cymerp2010] ERROR:web-services:[13]: Error: Incorrect padding





References