跳至内容
菜单
此问题已终结
2 回复
429 查看

After upgrading to Odoo 18, I have a small problem with invoice pdfs.

Underneath the invoice number, there is a section for some fields like invoice date, customer code, etc. When there are more than 4 fields to render, the fields are not all visible. I think the fifth field is supposed to wrap to the next line, but this is not happening.

We do not have any customizations to the layout (that I'm aware of).

I have tried pressing "Reset Report" on the "Invoice PDF" report in Odoo Studio and switching to different document layout templates in the settings, but the problem remains.


形象
丢弃
最佳答案

If you’re comfortable with a bit of HTML or CSS, open your Reports, locate the PDF Invoice report, then find the title elements and either reduce their width or adjust their font size until they look right. If you run into any issues or can’t find what you need, just let me know and I’ll be happy to help.

形象
丢弃
最佳答案

Contact Odoo Support - odoo.com/help - so they can troubleshoot.

Odoo 18.0 uses the Bootstrap COL class for the DIV's that show this information, so they will compress all columns so that they all fit, only individual column content will wrap to the line below (like it is here for Incoterm).

Since the database has gone through multiple upgrades since OpenERP 7.0 there could be several things they need to check.

形象
丢弃
相关帖文 回复 查看 活动
1
8月 25
1305
1
6月 24
2206
0
1月 25
904
0
10月 24
1931
11
10月 24
29683