openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #10889
[Bug 942679] Re: [report_webkit]Cannot print BVR invoices (Swiss version)
Just to clear small syntax problem in code proposed for web client -- http.py
by Alexandre Fayolle
fault = xmlrpclib.Fault('warning -- %s\n\n%s' % (e.name, e.value), '')
<-- notice second argument
[will prevent the TypeError from occurring (as the %s will force the
str() builtin function to be applied to rhs arguments of the % operator]
After that you will get actual error display in web client interface.
g.c.
--
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