Erpnext: [bug] overlapping table headers with content from the above row when creating pdf

Created on 26 Sep 2018  路  4Comments  路  Source: frappe/erpnext

Hi,

I'm again facing the issue with overlapping content in table headings when creating a pdf from a quotation. I haven't been able to resolve it with styles.

image

bug user-experience

Most helpful comment

I have tracked this to be a bug with wkhtmltopdf tracing back to 2014. I think if it hasn't been solved after 5 years it will never be solved https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1524. This in turn seems to be traced back to a core third party component from webkit and a relevant issue is here https://bugs.chromium.org/p/chromium/issues/detail?id=24826 from 2009.

Proper formatting of pdf documents is an important issue for any company that requires repeating headers in invoices and the invoices need to show detailed descriptions as they can span many lines.

I personally wouldn't consider a company that sends documents like this a serious company and I haven't seen it in any local competitor ERPs obviously using other libraries. I mean in simple terms I would think, "these guys can't fix their own system, how can they fix mine?"

Perhaps it's possible to consider adding another alternative library for PDF creation instead of wkhtmltopdf.

All 4 comments

I have tracked this to be a bug with wkhtmltopdf tracing back to 2014. I think if it hasn't been solved after 5 years it will never be solved https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1524. This in turn seems to be traced back to a core third party component from webkit and a relevant issue is here https://bugs.chromium.org/p/chromium/issues/detail?id=24826 from 2009.

Proper formatting of pdf documents is an important issue for any company that requires repeating headers in invoices and the invoices need to show detailed descriptions as they can span many lines.

I personally wouldn't consider a company that sends documents like this a serious company and I haven't seen it in any local competitor ERPs obviously using other libraries. I mean in simple terms I would think, "these guys can't fix their own system, how can they fix mine?"

Perhaps it's possible to consider adding another alternative library for PDF creation instead of wkhtmltopdf.

Adding the below code to print format custom css resolved it for me
@media print { .print-format [data-fieldtype="Table"] { overflow: visible !important; } }

@hadishakir Was this ".print-format" class on the body? Table? Containing Element?

@earljessee html body div.print-format-gutter div.print-format

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cradford picture cradford  路  4Comments

rmehta picture rmehta  路  3Comments

neilLasrado picture neilLasrado  路  4Comments

GSLabIt picture GSLabIt  路  4Comments

setsero71 picture setsero71  路  3Comments