Odoo Help


Error in pdf attachment download on openerp 7 ?

on 4/9/15, 6:26 AM 633 views

Hello Team,

When I tried to download the Pdf Attachments in openerp 7, the below error I got in terminal,but docs it is working fine

openerp.addons.web.http.HttpRequest.dispatch: An error occurred while handling a json request

Traceback (most recent call last):

  File "/home/endosoft/openerp-7/openerp/addons/web/http.py", line 285, in dispatch

    r = method(self, **self.params)

  File "/home/endosoft/openerp-7/openerp/addons/web/controllers/main.py", line 1281, in saveas

    filecontent = base64.b64decode(res.get(field, ''))

  File "/usr/lib/python2.7/base64.py", line 73, in b64decode

    return binascii.a2b_base64(s)

TypeError: must be string or buffer, not bool

In browser below error i got,

Not Found

The requested URL was not found on the server.

If you entered the URL manually please check your spelling and try again.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/9/15, 6:26 AM
Seen: 633 times
Last updated: 4/9/15, 6:26 AM