Skip to Content
Menu
This question has been flagged
3 Replies
2973 Views

Hi there,

I have the following problem, which I absolutely cannot solve.

Installation: Self-hosted / Windows 10 Desktop / Odoo 15

The German document layout (DIN 5008) is shown very small in A4 format. About the size of A5. Does anyone have a tip how I can increase the size of the layout to A4? The other standard layouts are easily adapted to A4.


thx


Avatar
Discard

Hey there,

iam facing the same issue with this DIN 5008 layout (scaling to 2/3 of the width of A4) and the solution mentioned by Online Marketing AG isn't fixing the problem unfortunatly.

All the other layouts are working just as intended so that my guess is that there is something wrong with the DIN 5008 layout itself.

I couldn't figure out what so iam hoping someone here got any ideas on how to fix this before i have to start to customize the standard one ?

Greetings,
Frank

Best Answer

I also had this problem with my invoices.

Since I host Odoo on my own, I have access to the machine where Odoo is installed.

The problem is with the "wkhtmltopdf" version installed. Uninstall it and install the new version with QT patches.

sudo apt remove wkhtmltopdf
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb
sudo apt install -f ./wkhtmltox_0.12.6.1-2.jammy_amd64.deb
sudo service odoo restart


Avatar
Discard

Hi Alex,

this solved my issue with the reports. Big thanks to you!

Thank you Alex

Best Answer

Hi

When you go into the setting where you can choose the document layout, you should have a button below the dropdown menu "Configuration of the Document Layout".

When you press it, a screen should pop up in which you can set several layout options. The very last is the paper size. Here you've got to switch from A4 to "European A4 for DIN5008 Type A".

That fixed it for us.


Cheers,

Jan

Avatar
Discard
Best Answer

Hi there, I just searched via google and so on but also on my Ubuntu Setup with Pycharm Odoo16 Report with Din5008 report (no matter if Type A or B or what ever paper type) it is not shown "correctly" or in full size. See attached. Does someone have an idea?


Avatar
Discard