Odoo Help

Welcome!

This community 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.

0

How to write a txt file after printing a report?

By
hanhoe
on 6/27/15, 6:12 AM 423 views

Hello!


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!

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

Hello,

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

https://www.odoo.com/fr_FR/forum/help-1/question/how-to-print-automatically-from-action-68265

Regards

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.

hanhoe
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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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