Skip to Content
Menú
This question has been flagged
3 Respostes
5630 Vistes

Is there a way to create dynamic PDF’s for free and use them for Odoo Quotations?


Related forum post: How to configure dynamic fields

Avatar
Descartar
Autor Best Answer

From the Sales App Settings, we can locate the PDF Quote Builder, which can help us create customizable sales quotations.

We can configure Header pages (pages before the quotation) and Footer pages (pages after the quotation).


If we want to make it more dynamic (example: adding automatically the sale order number or the client’s name to the PDF), we have to add specific fields to the PDF.

We can do it by using LibreOffice, which is a free software.

Open your PDF with LibreOffice:

From Insert > Form Control, add a Text Box:


Right click on the Text Box > Control Properties and in "Name" add the technical name of the corresponding Odoo field.

From this window, you can also edit the text box and font style.

Example: adding the field for client’s name.


Now you can export it as PDF and upload it in the settings for general use (or in quotation templates for specific use)


Now create a sale order and download the PDF Quote:


Now we have dynamic PDF’s!


Tip: Enable the developer mode to look for the technical names of Odoo Fields.

You can also find here more examples of commonly used fields.

Avatar
Descartar

thanks :-)

Best Answer

Hello,

I am trying to create a pdf with other Dynamic Fields (different from those wiritte in the Odoo documentation).

It seems to be impossible, Odoo recognises only the fields that are written in the documentation. Any other fields are not recognised, I have tried everything.

I have just read here that you cannot use any other fields because this feature was blocked.

Is that true?
Is it impossible to add dynamic fields different from the ones present in the documentation?


Thank you 

Best Regards

Avatar
Descartar

Hi Lizza,

I try also a lot of fields. Only the fields that are written in teh documentation are usabel.
Thats a pitty.

Autor

Hello!

From version 17.4 it is now possible and more flexible to use any field we want! Even new fields created with Studio.

I created a new forum post where I describe more in detail this topic: https://www.odoo.com/es/forum/ayuda-1/how-to-configure-dynamic-fields-for-pdf-quote-builder-v17-4-266394

Best Answer

Thanks, very nice tool!

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de jul. 25
3241
2
de jul. 25
177
3
de jul. 25
2187
3
de jul. 25
2808
1
de juny 25
1197