Odoo Help


Displaying an attachement in a mail.message programmatically

HIGHCO - Nicolas Clavier
on 12/22/15, 5:33 AM 689 views


Code question on V8.0 refers to method message_post() of mail addon.

How can I set an attachement to be displayed at the bottom of a mail.message after posting a message programmatically ? 

I provided the method message_post() with the attachements list of attachment tuples in the form ``(name,content)``, the upload process works fine, the attachements are listed in the attachements menu of the thread_id (actually the partner in my case) but the attachement is not shown as an icon in the corresponding message in the timeline below the partner. 

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: 12/22/15, 5:33 AM
Seen: 689 times
Last updated: 12/22/15, 5:34 AM