The quotation PDF looked different from the ERPNext print preview:
The line above the letter footer was missing in the PDF. It was a 0.5px top border on the footer table, which the PDF renderer drops.
The totals block was twice as tall as intended, because Frappe's print stylesheet sets cell padding with !important.
The company city wrapped in the footer's first column.
Change
The footer line is now a 1px border on its own div above the table.
Footer column widths 24/27/21/28 %; the address column doesn't wrap.
Totals cells keep 2px padding with !important.
Not in this PR: the PDF font. The ERPNext image has no Arial, so PDFs fall back to a wider font (to be confirmed with pdffonts). The fix for that is a font package in the ERPNext image (orca-infra).
Rollout
Merge, then erpsetup (dry run first). Expect the letter head and the 3 print formats as would update.
## Problem
The quotation PDF looked different from the ERPNext print preview:
- The line above the letter footer was missing in the PDF. It was a 0.5px top border on the footer table, which the PDF renderer drops.
- The totals block was twice as tall as intended, because Frappe's print stylesheet sets cell padding with `!important`.
- The company city wrapped in the footer's first column.
## Change
- The footer line is now a 1px border on its own `div` above the table.
- Footer column widths 24/27/21/28 %; the address column doesn't wrap.
- Totals cells keep 2px padding with `!important`.
Not in this PR: the PDF font. The ERPNext image has no Arial, so PDFs fall back to a wider font (to be confirmed with `pdffonts`). The fix for that is a font package in the ERPNext image (orca-infra).
## Rollout
Merge, then `erpsetup` (dry run first). Expect the letter head and the 3 print formats as `would update`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The PDF renderer drops the 0.5px top border of the letter footer table,
so the line above the footer showed in the browser preview but not in
the PDF. The line is now a 1px border on its own div.
The company address column no longer wraps the city, and the totals rows
keep their 2px padding: Frappe's print stylesheet sets cell padding with
!important, which spread the totals over twice the height.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sharang
merged commit 36caf3c967 into main2026-10-19 21:38:29 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
The quotation PDF looked different from the ERPNext print preview:
!important.Change
divabove the table.!important.Not in this PR: the PDF font. The ERPNext image has no Arial, so PDFs fall back to a wider font (to be confirmed with
pdffonts). The fix for that is a font package in the ERPNext image (orca-infra).Rollout
Merge, then
erpsetup(dry run first). Expect the letter head and the 3 print formats aswould update.🤖 Generated with Claude Code