Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4467 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

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.

Post correlati Risposte Visualizzazioni Attività
2
mar 15
8640
1
mag 24
1152
3
giu 23
10653
4
apr 22
26827
0
mag 21
4326