Odoo Help


How can I display a PDF stored in the database in a web browser?

on 3/27/13, 6:24 AM 631 views

Hello! I develop a module that stoks file into open erp db. Those file are pdf. I can easyly download them using the binary field file name. However, supposed that the browser of the client allows to show pdf files, is it possible to open this file into a other page of my browser? I've already done this with a simple url, but the same this with a file doesn't work, due to a problem of url...I known what's the problem but I ignore how to resolve this problem. I've already search into other post, but nothing was found.

Sorry for my english and a great thanks in advance of yours answser.


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: 3/27/13, 6:24 AM
Seen: 631 times
Last updated: 3/16/15, 8:10 AM