Skip to Content
Menu
This question has been flagged
1 Reply
3757 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!

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

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.

Related Posts Replies Views Activity
2
Mar 15
7594
1
May 24
279
3
Jun 23
6720
4
Apr 22
24829
0
May 21
2977