Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4457 Widoki

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!

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
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.

Powiązane posty Odpowiedzi Widoki Czynność
2
mar 15
8618
1
maj 24
1122
3
cze 23
10618
4
kwi 22
26814
0
maj 21
4320