Odoo Help


This community 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.


Error in pdf attachment download on openerp 7 ?

on 4/9/15, 6:26 AM 593 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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