diff options
| author | sed-odoo <sed@odoo.com> | 2018-09-04 08:34:41 +0200 |
|---|---|---|
| committer | sed-odoo <sed@odoo.com> | 2018-09-20 09:41:06 +0200 |
| commit | 3a883e67287cbf0c93a746bc2080b897f2c87bfa (patch) | |
| tree | 86924a931dc0045143646cc0c1d0e198dc09339b /addons/l10n_ch/static/src/scss | |
| parent | c59d6d2329494705a5f9dd5ef6a1b0e2c43f8e38 (diff) | |
[IMP] l10n_ch,account,website_sale: Add SwissQR Code on invoice and improve the SEPA QR Code usability
Purpose
=======
- Add the SwissQR Code on the invoice in aim to replace the actual ISR
- Improve the settings of the SEPA QR Code to make it more user friendly
Specifications
==============
- ln_ch:
- Add a SwissQR Code on the invoice to fit the Switzerland QR-Bill Format
- Use the "partner_bank_id" field to generate the QR Code
- Add function to get the address number out of the field "street" and "street2"
- account:
- Remove the SEPA QR Code's journal settings from the general setting
- Display the "partner_bank_id" field on the invoice "Other info" page
- Use the "partner_bank_id" field to generate the QR Code
- website_sale:
- Add a check box on the payment acquirers to use the SEPA QR Code on the e-commerce
- Use the payment acquirer "journal_id" field to generate the SEPA QR Code
Diffstat (limited to 'addons/l10n_ch/static/src/scss')
| -rw-r--r-- | addons/l10n_ch/static/src/scss/report_swissqr.css | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/addons/l10n_ch/static/src/scss/report_swissqr.css b/addons/l10n_ch/static/src/scss/report_swissqr.css new file mode 100644 index 00000000000..9626c958887 --- /dev/null +++ b/addons/l10n_ch/static/src/scss/report_swissqr.css @@ -0,0 +1,84 @@ +.swissqr_content { + page-break-before: always; +} + +.swissqr_body { + position: relative; + background-color: white; + border-color:black; + border-width: 1pt 0pt 0pt 1pt; + border-style: solid; + height: 116mm; + width: 190mm; + top: 160mm; + left: 70mm; +} + +.swissqr{ + position: absolute; + height: 70mm; + width: 70mm; + top: 29.5mm; + left: 7mm; +} + +.ch_cross{ + position: absolute; + background-color: white; + height: 8.5mm; + width: 8.5mm; + top: 60.25mm; + left: 37.75mm; +} + +.swissqr_text{ + font-family: OCR-B, Arial, Frutiger, Helvetica; + color: black; +} + +.swissqr_text.title{ + font-size: 9pt; + font-weight: bold; +} + +.swissqr_text.title.title_zone{ + font-size: 11pt; + font-weight: bold; +} + +.swissqr_text.content{ + font-size: 11pt; +} + +.swissqr_column_left{ + position: absolute; + left: 12mm; +} + +.swissqr_column_right{ + position: absolute; + left: 83mm; + max-width: 90mm; +} + +.procedure_zone{ + top: 15mm; +} + +.title_zone{ + top: 5mm; +} + +.indication_zone{ + top: 10mm; +} + +.amount_zone{ + position: absolute; + top: 106mm; +} + +.amount{ + position: absolute; + left: 41mm; +} |
