Odoo Help


How to write a txt file after printing a report?

on 6/27/15, 6:12 AM 506 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.

on 6/27/15, 8:56 AM

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

1 follower(s)


Asked: 6/27/15, 6:12 AM
Seen: 506 times
Last updated: 6/27/15, 8:16 AM