Odoo Help


Download attachment in tree view - will download without file extension

on 2/19/15, 6:28 AM 1,614 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? 

Hi. I'm facing the same issue, did you solve your problem ?

Mehdi Belatrous
on 12/13/16, 7:41 AM

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