Skip to content

fix: isolate preview CSS in iframe and negate credit note quantities#44

Merged
pritambiswal merged 1 commit into
developfrom
fix/preview-iframe-css-isolation
May 11, 2026
Merged

fix: isolate preview CSS in iframe and negate credit note quantities#44
pritambiswal merged 1 commit into
developfrom
fix/preview-iframe-css-isolation

Conversation

@pritambiswal
Copy link
Copy Markdown
Contributor

Preview now renders in an iframe to prevent PEPPOL stylesheet from clashing with ERPNext desk CSS. Parser negates qty and amount for credit notes since PEPPOL uses positive values but ERPNext expects negative on return invoices.

Preview now renders in an iframe to prevent PEPPOL stylesheet from
clashing with ERPNext desk CSS. Parser negates qty and amount for
credit notes since PEPPOL uses positive values but ERPNext expects
negative on return invoices.
@pritambiswal pritambiswal merged commit b8d3f50 into develop May 11, 2026
4 checks passed
@pritambiswal pritambiswal deleted the fix/preview-iframe-css-isolation branch May 11, 2026 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant