Odoo Help


How to add attachment ?

on 3/16/15, 3:36 AM 493 views

I want to add attachment via code in project_issue. i have a button in tree view of project_issue, by clicking that button i open one popup (osv.memory) dialog . i put attachment field in that model(osv.memory). On button click of that dialog i want to attach document to project_issue record. How it is possible ?



Zura Tsiklauri

--Zura Tsiklauri--
Zura Tsiklauri
| 5 2 6
Tbilisi, Georgia
--Zura Tsiklauri--
Zura Tsiklauri
On 3/16/15, 4:36 AM

Install the module: Knowledge.

On 3/16/15, 7:16 AM

I want it by popup dialog , when i click button of popup dialog, whatever attachment with popup dialog attached to main model.

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

2 follower(s)


Asked: 3/16/15, 3:36 AM
Seen: 493 times
Last updated: 5/20/15, 9:27 AM