Odoo Help


How to write a txt file after printing a report?

Hannes Hörting
on 6/27/15, 6:12 AM 699 views


I want to write a txt file, after printing a report. I guess with server action it is possible?

But how to write the pyhton code?

Thank you!

David Verove
On 6/27/15, 8:16 AM


Take a look at the answers I received when I wanted to do something similar (doing an action and then printing a report): 



Hi David, thank you, but to where did you copy the code? I thought I start a server action, but not sure how I can there with the python commands write a file.

Hannes Hörting
on 6/27/15, 8:56 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: 6/27/15, 6:12 AM
Seen: 699 times
Last updated: 6/27/15, 8:16 AM