← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 704319] Re: Error printing invoice

 

Hello Azazahmed,

I just wrote the company's name and configured the currency and have
linked the company with the partner. The rest of the fields are in
blank. I maintained all the default values when the company was created.

Thanks.

-- 
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/704319

Title:
  Error printing invoice

Status in OpenObject Server:
  Incomplete

Bug description:
  version 6.0-dev on Ubuntu10.10 64bits

  This error appears only in when I try to print invoices that were
  created by a new company different than the default one.

  Advise in web client:

  (<class 'binascii.Error'>, Error('Incorrect padding',), <traceback
  object at 0x43bd128>)

  Traceback:

  [2011-01-18 10:01:14,975][erpaberto] ERROR:web-services:[01]: Exception: Incorrect padding
  [2011-01-18 10:01:14,975][erpaberto] ERROR:web-services:[02]: Traceback (most recent call last):
  [2011-01-18 10:01:14,975][erpaberto] ERROR:web-services:[03]:   File "/home/amosoviedo/openerp6/openobject-server/bin/service/web_services.py", line 724, in go
  [2011-01-18 10:01:14,975][erpaberto] ERROR:web-services:[04]:     (result, format) = obj.create(cr, uid, ids, datas, context)
  [2011-01-18 10:01:14,975][erpaberto] ERROR:web-services:[05]:   File "/home/amosoviedo/openerp6/openobject-server/bin/report/report_sxw.py", line 428, in create
  [2011-01-18 10:01:14,976][erpaberto] ERROR:web-services:[06]:     fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
  [2011-01-18 10:01:14,976][erpaberto] ERROR:web-services:[07]:   File "/home/amosoviedo/openerp6/openobject-server/bin/report/report_sxw.py", line 462, in create_source_pdf
  [2011-01-18 10:01:14,976][erpaberto] ERROR:web-services:[08]:     result = self.create_single_pdf(cr, uid, [obj.id], data, report_xml, context)
  [2011-01-18 10:01:14,976][erpaberto] ERROR:web-services:[09]:   File "/home/amosoviedo/openerp6/openobject-server/bin/report/report_sxw.py", line 511, in create_single_pdf
  [2011-01-18 10:01:14,976][erpaberto] ERROR:web-services:[10]:     logo = base64.decodestring(rml_parser.logo)
  [2011-01-18 10:01:14,976][erpaberto] ERROR:web-services:[11]:   File "/usr/lib/python2.6/base64.py", line 321, in decodestring
  [2011-01-18 10:01:14,977][erpaberto] ERROR:web-services:[12]:     return binascii.a2b_base64(s)
  [2011-01-18 10:01:14,977][erpaberto] ERROR:web-services:[13]: Error: Incorrect padding





References