Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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?
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/19/15, 6:28 AM|
|Seen: 814 times|
|Last updated: 3/16/15, 8:10 AM|