Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4504 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
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.

Verknüpfte Beiträge Antworten Ansichten Aktivität
2
März 15
8685
1
Mai 24
1180
3
Juni 23
10771
4
Apr. 22
26882
0
Mai 21
4372