Files
tenant-registry/internal/erpsetup
Sharang ParnerkarandClaude Opus 5.5 d2566d084e
ci / shared (pull_request) Successful in 14s
ci / test (pull_request) Successful in 23m44s
ci / image (pull_request) Skipped
fix(erpsetup): logo as a private File, PDFs work again
ERPNext strips data: URLs when it saves HTML (the Letter Head's HTML
Editor field), which left an <img> without src in the letter head; frappe's
PDF step then fails with KeyError: 'src', so no PDF could be generated.
The chevron is now uploaded as a private File (/private/files/
breakpilot-chevron.png); frappe inlines private images as base64 when it
renders a PDF, so wkhtmltopdf needs no network access.

Checked on the live ERPNext: a sample invoice renders with the logo.
Templates must not contain data: URLs or inline SVG (test).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-30 15:08:29 +02:00
..