← Back to team overview

openerp-india team mailing list archive

[Bug 942679] Re: [report_webkit]Cannot print BVR invoices (Swiss version)

 

Hi everybody,

This bug is not related to the report_webkit module. It is related to
the wkhtmltopdf library.

The wkhtmltopdf has to compiled static in order to the module to work,
and at least version 0.9.9.

You have to uninstall the wkhtmltopdf package (if you installed it), and
then download the last static version of wkhtmltopdf
(http://code.google.com/p/wkhtmltopdf/downloads/list).

Once you have the executable file, you have to make it readable to
OpenERP. For this just place it in /usr/local/bin, or make a symlink to
it.

The field webkit library in res.company is not used anymore. I will post
soon a merge proposal with these instructions in the module's
description and removing the unused field.

PS: Thanks C2C for this very good job.

Regards

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/942679

Title:
  [report_webkit]Cannot print BVR invoices (Swiss version)

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Using lates OpenERP 6.1 on Ubuntu 11, 64 bits.

  I have an invoice; and i'm trying to "Print BVR invoice" I get :

  Client Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 260, in dispatch
      r = method(controller, self, **self.params)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1784, in index
      req.session._db, req.session._uid, req.session._password, report_id)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 596, in send
      fault = xmlrpclib.Fault('warning -- ' + e.name + '\n\n' + e.value, '')
  TypeError: coercing to Unicode: need string or buffer, tuple found

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/942679/+subscriptions


References