[FIX] account/l10n_ch: QR-Bill - remove border outside of printing zone
In Switzerland, it is mandatory, when a QR bill is printed, to use a line to separate both the QR part from the rest of the page and, within the QR zone, the receipt from the payment part. This was done using dotted lines on the bill. However, while generating the PDF caused no problem, the snailmail provider can't print the bottom, far left and far right borders since those are outside of the printing zone. After further research it does however seem that those are not mandatory, unlike the two separations aforementioned. Removed those to allow for snailmail printing. opw-3223714 closes odoo/odoo#119728 X-original-commit: 1326ad2a21e2d9aade1ad2ff4444e595c1caabad Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com>
This commit is contained in:
@@ -82,8 +82,7 @@ body.l10n_ch_qr{
|
||||
top: 192mm * $l10n-ch-qr-ratio;
|
||||
width: 62mm * $l10n-ch-qr-ratio;
|
||||
height: 105mm * $l10n-ch-qr-ratio - $rounding_offset;
|
||||
border: 0.75pt * $l10n-ch-qr-ratio dashed black;
|
||||
border-right: 0pt;
|
||||
border-top: 0.75pt * $l10n-ch-qr-ratio dashed black;
|
||||
padding: 5mm * $l10n-ch-qr-ratio;
|
||||
.title {
|
||||
font-size: 6pt * $l10n-ch-qr-ratio;
|
||||
@@ -128,6 +127,8 @@ body.l10n_ch_qr{
|
||||
width: 148mm * $l10n-ch-qr-ratio;
|
||||
height: 105mm * $l10n-ch-qr-ratio - $rounding_offset;
|
||||
border: 0.75pt * $l10n-ch-qr-ratio dashed black;
|
||||
border-bottom: none;
|
||||
border-right: none;
|
||||
padding: 5mm * $l10n-ch-qr-ratio;
|
||||
.title {
|
||||
font-size: 8pt * $l10n-ch-qr-ratio;
|
||||
|
||||
Reference in New Issue
Block a user