Follow-up to #51, found while rendering in the real ERPNext:
custom Jinja print formats have to output {{ letter_head }} and the #footer-html block themselves (ERPNext does that only for its standard formats) → both are now in the template, with page numbers
wkhtmltopdf does not draw inline SVG → the chevron is an embedded PNG
the print view action banner ("Print / Get PDF") is hidden; the footer columns give the IBAN room
Checked with frappe.get_print on the live ERPNext on a sample invoice built from SAL-ORD-2026-00006-1 (not saved).
Follow-up to #51, found while rendering in the real ERPNext:
- custom Jinja print formats have to output `{{ letter_head }}` and the `#footer-html` block themselves (ERPNext does that only for its standard formats) → both are now in the template, with page numbers
- wkhtmltopdf does not draw inline SVG → the chevron is an embedded PNG
- the print view action banner ("Print / Get PDF") is hidden; the footer columns give the IBAN room
Checked with `frappe.get_print` on the live ERPNext on a sample invoice built from SAL-ORD-2026-00006-1 (not saved).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
ERPNext adds the letter head and the PDF footer only to its standard
formats; a custom Jinja format has to place {{ letter_head }} and the
#footer-html block itself (with page numbers). wkhtmltopdf does not draw
inline SVG, so the chevron is an embedded PNG. The print view's action
banner is hidden; the footer columns give the IBAN room.
Checked with ERPNext's own print path (frappe.get_print) on a sample
invoice built from SAL-ORD-2026-00006-1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
sharang
merged commit fb241befcc into main2026-09-30 11:48:17 +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.
Follow-up to #51, found while rendering in the real ERPNext:
{{ letter_head }}and the#footer-htmlblock themselves (ERPNext does that only for its standard formats) → both are now in the template, with page numbersChecked with
frappe.get_printon the live ERPNext on a sample invoice built from SAL-ORD-2026-00006-1 (not saved).🤖 Generated with Claude Code
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
ERPNext adds the letter head and the PDF footer only to its standard formats; a custom Jinja format has to place {{ letter_head }} and the #footer-html block itself (with page numbers). wkhtmltopdf does not draw inline SVG, so the chevron is an embedded PNG. The print view's action banner is hidden; the footer columns give the IBAN room. Checked with ERPNext's own print path (frappe.get_print) on a sample invoice built from SAL-ORD-2026-00006-1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB