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

I am developing a custom PDF report in Odoo v18 using the report builder and modifying the code as needed. My client requires that the report be automatically saved to the record after generation. In Odoo 17, this was achieved using the attachment_use checkbox, which worked perfectly.


However, in Odoo 18, this functionality no longer works as expected when implementing the final PDF report.


Does anyone have insights or solutions for this? Any help would be greatly appreciated!

الصورة الرمزية
إهمال
أفضل إجابة

The option is working in version 18 without any issues. Did you set the file name in the field "Save as Attachment Prefix"? If it is empty, the attachment will not be saved.

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Thank you so much Akhilesh, solved the problem

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
ديسمبر 24
1076
1
يونيو 23
1948
1
مارس 15
10944
4
مارس 15
8372
0
يوليو 25
249