Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
1185 Tampilan

Hello everyone,

I’m trying to customize the way PDFs are generated in Odoo (v17) for quotations. By default, when Odoo generates the PDF, it places the product-related documents (PDFs linked to products) before the actual quotation.

What I would like to achieve is the opposite:

  • Add the PDF Header page (if defined)
  • Then, display the quotation in the PDF.
  • Then, append the product-related documents at the end.
  • And add the PDF Footer (if defined)

Has anyone encountered this issue or knows how to modify the order of the pages in the generated PDF?

Thanks in advance for your help!

Avatar
Buang
Penulis Jawaban Terbai

Hi @Ritik,

I don't see the Product Attachments in the sequence of elements. 

In my configuration I only have header and footer and no option to reorder them.


Could you please add a print screen so I can understand what you mean.

Thanks

Avatar
Buang
Jawaban Terbai

Hi Arnaud,

did you come across any solution? I am facing the exact same problem.

Kind regards, Paul

Avatar
Buang
Jawaban Terbai

In Odoo 17, when generating a PDF quotation, the default behavior places product-related documents before the main quotation content. If you need these documents to appear at the end of the PDF instead, you can achieve this by configuring the PDF Quote Builder and customizing the document order. At Wan Buffer Services, we have helped businesses streamline such document placements to enhance professional presentation. Here’s how you can do it:

1. Enable PDF Quote Builder

  • Go to Sales > Configuration > Settings.
  • Under Quotations & Orders, activate PDF Quote Builder.
  • Save the settings.

2. Configure Document Placement Order

  • Within PDF Quote Builder, arrange the sequence of elements as:
    1. Quotation Content
    2. Product Attachments
    3. Footer (if applicable)

3. Attach Product-Related Documents

  • Navigate to Products and select a product.
  • Click the Documents smart button to upload relevant PDFs (e.g., specifications, user manuals).
  • Set the Visible at option to Inside Quote to ensure inclusion.

4. Generate & Verify PDF Quotations

  • Create a quotation, add the necessary products, and generate the PDF.
  • Verify that the quotation content appears first, followed by product-related documents.

At Wan Buffer Services, we specialize in customizing Odoo ERP to fit business needs, including PDF report modifications.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Jun 25
874
6
Des 24
4331
2
Jun 23
2534
2
Agu 25
500
3
Agu 25
666