跳至內容
選單
此問題已被標幟
1 回覆
4458 瀏覽次數

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!

頭像
捨棄
最佳答案

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

頭像
捨棄
作者

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.

相關帖文 回覆 瀏覽次數 活動
2
3月 15
8619
1
5月 24
1122
3
6月 23
10620
4
4月 22
26814
0
5月 21
4320