Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4450 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

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 Odpovědi Zobrazení Aktivita
2
bře 15
8610
1
kvě 24
1120
3
čvn 23
10552
4
dub 22
26776
0
kvě 21
4312