I created the custom module in CRM v8 that I had previously created in v7, and then I reused the modifications that worked in v7.
I then followed your advice and added the name of the custom module to the “module_routing.yaml” file.
I can now select the custom module in the PDF template and print the details to PDF.
Thank you very much.
Without meaning to offend anyone, I think it would be necessary to create a simple way to use PDFs with any module.
Or at least add an explanatory page to the documentation.
Because currently, you have to juggle forum pages on the subject, dating from 2020 for v7 to 2025 for v8, and then those linking to answers given in other posts… This becomes complicated and generates unnecessary reading, sometimes leading to errors in the actions to be performed.
Totally agree - that’s quite a standard feature to have in CRMs. Not in all projects, but it does reappear over and over. @rsp 's thread in the suggestion box is the right way to go
@Lionel If necessary, you can just use the module in SuiteCRM 7 mode (legacy) and there is an established method to add PDF support to your custom module.