Hello,
I've encountered an issue with document previews in Odoo, and I would appreciate some assistance.
I have customized the document layout in the General Settings of Odoo, and this layout is correctly applied when generating PDFs for documents in both the Accounting and Sales apps. Specifically, when I open an invoice in the Accounting app or an order in the Sales app and generate a PDF, the document correctly follows my configured layout.
However, there is a discrepancy when I use the "Preview" option in the same apps. When I click on "Preview," it redirects me to a web preview of the document (invoice or order). In this web preview, the document does not follow my customized layout. Additionally, when I download the document from this web preview, the generated PDF does not follow my settings either.
This inconsistency between the PDF generated directly and the web preview/download is causing issues with document presentation. The web preview and the downloaded PDF from it should follow the same layout as the PDF generated directly.
Thank you in advance for your support.