Various pdf templates in Custom modules

For my Custom Module I want to have some pdf templates. One for internal information and another for client, using most of the fields created for the object.

How can I do it?

Thanks

Hello, you should take a look at the dolibarr developer wiki : https://wiki.dolibarr.org/index.php/Developer_documentation#Document_templates_and_documents_generation

Thank you altatof

I’ve been looking this documentation. I use this one, https://wiki.dolibarr.org/index.php?title=Create_a_PDF_document_template#Find_a_document_template_that_is_the_closest_to_your_requirements

On “Create new template” I follow the instrucctions for my Custom module, this not work.

If I look the table llx_document_model as said in wiki, I can’t see any line refered to my custom module. I have inserted two lines, one for each document I want to choose and nothing happens.

Thanks