-
- Downloads
[FIX] l10n_ch: fix QR-bill pdf report so that it matches the spec
Using it as a parf of the regular invoice pdf report was wrong, as this report is subject to the margins defined in its paper format; causing issues as for the rendering of the QR report, which must be displayed at a precise location (just like ISR). wkhtmltopdf doesn't allow having different margin values in the same file, so we did just as for ISR, and now generate QR-bill in a distinct pdf.
[IMP] l10n_ch: add receipt part to QR-bill pdf report
closes odoo/odoo#50338
Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
Showing
- addons/l10n_ch/i18n/l10n_ch.pot 49 additions, 0 deletionsaddons/l10n_ch/i18n/l10n_ch.pot
- addons/l10n_ch/models/account_invoice.py 14 additions, 2 deletionsaddons/l10n_ch/models/account_invoice.py
- addons/l10n_ch/models/mail_template.py 12 additions, 5 deletionsaddons/l10n_ch/models/mail_template.py
- addons/l10n_ch/report/swissqr_report.xml 89 additions, 36 deletionsaddons/l10n_ch/report/swissqr_report.xml
- addons/l10n_ch/static/src/scss/report_swissqr.css 5 additions, 84 deletionsaddons/l10n_ch/static/src/scss/report_swissqr.css
- addons/l10n_ch/static/src/scss/report_swissqr.scss 116 additions, 0 deletionsaddons/l10n_ch/static/src/scss/report_swissqr.scss
- addons/l10n_ch/views/account_invoice_view.xml 19 additions, 0 deletionsaddons/l10n_ch/views/account_invoice_view.xml
Loading
Please register or sign in to comment