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.


Download attachment in tree view - will download without file extension

on 2/19/15, 6:28 AM 704 views

Hello all,

You must have noticed somewhere that if we make a field one2many with "ir_attachment" and put property editable="bottom" in tree view, it will upload a file (binary) but will download it without the attached file extension

If I was not clear above, lets take an example, if we attach / upload a file named 'Demo.pdf' in tree view --> Save --> then if we click on Download Link button, it will download as "download (1)" instread of downloading as "Demo.pdf".

If we make same actions in "ir_attachment" Form view, it will work fine. I mean, it should behave the same way no matter if its tree view or form view.

My client want it to be simple (less clicks, upload and download from tree view).

Can you please help me make it work in tree view? 

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: 2/19/15, 6:28 AM
Seen: 704 times
Last updated: 3/16/15, 8:10 AM