Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
5628 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ

thanks :-)

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

Hi Lizza,

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

Tác giả

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

Câu trả lời hay nhất

Thanks, very nice tool!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 7 25
3240
2
thg 7 25
174
3
thg 7 25
2186
3
thg 7 25
2807
1
thg 6 25
1197