Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4493 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 15
8665
1
thg 5 24
1172
3
thg 6 23
10734
4
thg 4 22
26865
0
thg 5 21
4346