Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4476 Prikazi

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
Opusti
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
Opusti
Avtor

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 Odgovori Prikazi Aktivnost
2
mar. 15
8651
1
maj 24
1165
3
jun. 23
10693
4
apr. 22
26850
0
maj 21
4338