Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
1284 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Tekijä Paras vastaus

Thank you so much Akhilesh, solved the problem

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
jouluk. 24
1300
1
kesäk. 23
2046
1
maalisk. 15
11156
4
maalisk. 15
8572
1
elok. 25
141