跳至内容
菜单
此问题已终结
3 回复
4626 查看

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

形象
丢弃
编写者 最佳答案

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:


Edit the properties of this Text Box:



In “Name” add the technical name of the corresponding Odoo field (from this window, you can also edit the font style).


Adding the sale order number:


Adding the field for client’s name:


Now you can export it as PDF:


Upload it in the settings for general use (or in quotation templates for specific use):


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.

形象
丢弃

thanks :-)

最佳答案

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

形象
丢弃

Hi Lizza,

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

编写者

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

最佳答案

Thanks, very nice tool!

形象
丢弃
相关帖文 回复 查看 活动
1
5月 25
2046
5
5月 25
13505
1
5月 25
362
1
5月 25
11
1
4月 25
1264