Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1298 Widoki

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!

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Thank you so much Akhilesh, solved the problem

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
gru 24
1309
1
cze 23
2050
1
mar 15
11165
4
mar 15
8573
2
sie 25
130