跳至内容
菜单
此问题已终结
2 回复
1329 查看

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
12月 24
1322
1
6月 23
2061
1
3月 15
11186
4
3月 15
8580
0
8月 25
3