openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #12186
[Bug 942679] Re: [report_webkit]Cannot print BVR invoices (Swiss version)
Hello Folks,
Yes, this problem doesn't occurs due to webkit report or any other
report.
The main problem occurs when the exception generated from report
services(only on web) then this type of error faced( it's bug) .Because
the warning msg (e.value) passed as a tuple instead of str. So whenever
report service called a osv.osv_exception then this type of error is
faced on web client.
Rifakat's solution solved this problem on webkit because If we have old
version of wkhtmltopdf then it raised the osv_exception. So if have
follow the steps as Rifakat gives then osv_exception won't raised (So
the actual bug is hide.).
In short this is the bug of web client which is merged recently on trunk
web revision no2503, would you please check lp:941124.
So you can try with latest code and it will work fine.
Hope this help
Thank you!
--
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):
Invalid
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