تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4497 أدوات العرض

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
مارس 15
8678
1
مايو 24
1173
3
يونيو 23
10740
4
أبريل 22
26869
0
مايو 21
4354