Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
1405 Vistas

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!

Avatar
Descartar
Mejor respuesta

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.

Avatar
Descartar
Autor Mejor respuesta

Thank you so much Akhilesh, solved the problem

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
ago 25
213
1
dic 24
1389
1
jun 23
2099
1
mar 15
11281
4
mar 15
8653