Good day everyone,
I am new to Odoo and currently watching the tutorial videos. I have installed version Odoo 19.0-20251106 (Community Edition) and hosted it via Docker on an Ubuntu server. I’m facing an issue where, in the settings under debug mode, I changed the document layout to DIN5008. In the built-in preview, the document is displayed correctly with the layout, but none of the actual documents are generated using this layout. Regardless of whether it’s quotations, invoices, or even the direct preview from the document layout settings, none follow this layout.
I have verified that the modules l10n_din5008 and l10n_din5008_sale are installed under Apps. In the settings, external_layout_din5008 is selected for the document layout, but this layout is not used in any PDF report. I checked the template for a standard quotation and noticed that it uses sale.report_saleorder_raw, which calls report_saleorder_document. What confused me is that report_saleorder_document exists twice: the original one and an inherited version with the external ID l10n_din5008_sale.report_saleorder_document.
So my question is: why is no proper layout used in any PDF—whether a quotation, order, or invoice—and why does everything appear in the default font, misaligned, and without structure?
Thanks a lot in advance!