Every time I generate an invoice the customer name seems to be partially chopped off but their address details show in the top right hand corner of the invoice. Any suggestions as to how to fix?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
If you are using A4 size paper format change the following. It working fine for me.
Top Margin: 45
Bottom Margin: 25
Header Spacing: 40
OuputDPI: 90
Hello,
It's only due to two reasons
1) Need to increase margin from top
2) Need to configure proper wkhtmltopdf according to odoo version
Thanks and regards
Haresh Kansara
This is probably due to the report layout margins.
If you have the technical features activated for your user,
1. Go to Settings > Technical > Reports > Paper Formats
2. Open the "European A4" format (Assume your are using this default one)
3. Increment the top margin and Header spacing with the same amount. Example if Top margin was 40mm and Header Spacing 35, then set them respectively to 45mm and 40.
4. Save and print the invoice to verify. If needs be repeat steps 1 to 3 in order to get it right.
Beware: by default, once you print a validated invoice the next time you want to print it again it is a copy of the initial printed invoice that is presented to you.
You need to deactivate this, in order to see the effect of the changed margins:
1. Go to Settings > Technical > Actions > Reports and search for "Invoices"
2. Open the invoice report and make sure to untick the field "Reload from Attachment"
3. Save and try printing a new invoice.
4. When satisfied with the results, do not forget to tick the "Reload from Attachment" checkbox.
I hope this helps.
It could also be that the wrong version of wkhtmltopdf - 0.12.1 seems to be the best version for Odoo v8. See https://www.odoo.com/forum/help-1/question/wkhtmltopdf-0-12-2-1-pdf-reports-are-not-correctly-formatted-on-ubuntu-87756
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Sep 24
|
234 | ||
|
2
Aug 24
|
358 | ||
|
3
Jul 24
|
2393 | ||
|
1
Jul 24
|
363 | ||
|
2
Jun 24
|
457 |