TIP: You can type at any time to perform a new search.
Switzerland - QR-bill
l10n_ch_qr_bill · OCA/l10n-switzerland
- Repository
- OCA/l10n-switzerland · module folder · Try on Runboat
- Module version
- 1.2.3
- Category
- Localization
- Folder size
- 0.09 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-switzerland
- Last tracking update
- 2026-08-07 07:17:51
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Yannick Vaucher, GitHub, Akim Juillerat, Weblate, OCA Transbot, OCA-git-bot, oca-travis, Telmo Santos
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_common_qr |
assets_common_qr | ir.ui.view | qweb | Inherits report.assets_common |
l10n_ch_swissqr_template |
l10n_ch_swissqr_template | ir.ui.view | qweb | New |
qr_report_main |
qr_report_main | ir.ui.view | qweb | New |
qrr_invoice_form |
l10n_ch.account.invoice.form | account.invoice | form | Inherits account.invoice_form |
view_partner_bank_form |
l10n_ch_qr.res.partner.bank.form | res.partner.bank | form | Inherits base.view_partner_bank_form |
HTTP endpoints (1)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/report/qrcode, /report/qrcode/<path:value> |
ReportController.report_qrcode |
public | http | ALL |
Models touched (3)
New fields (4)
-
l10n_ch_currency_nameCharhelp="The name of this invoice's currency"readonly=Truerelated='currency_id.name'string='Currency Name' -
l10n_ch_qrrCharcompute='_compute_l10n_ch_qrr'help='The reference QRR associated with this invoice'store=True -
l10n_ch_qrr_sentBooleandefault=Falsehelp=('Boolean value telling whether or not the QRR corresponding to this invoice has already been printed or sent by mail.') -
l10n_ch_qrr_spacedCharcompute='_compute_l10n_ch_qrr_spaced'help='Reference QRR split in blocks of 5 characters (right-justified),to generate QR-bill report.'
-
action_invoice_open(self) -
build_swiss_code_url(self)@api.multi -
can_generate_qr_bill(self, returned_errors=None)Returns True if the invoice can be used to generate a QR-bill. -
has_qrr(self)Check if this invoice has a valid QRR reference (for Switzerland) -
print_ch_qr_bill(self)Triggered by the 'Print QR-bill' button. -
validate_swiss_code_arguments(self)
New fields (0)
No new fields.
Public methods (1)-
qrcode(self, value, width=600, height=100, bar_border=4)@api.model
New fields (1)
-
l10n_ch_qr_ibanCharhelp='Put the QR-IBAN here for your own bank accounts. That way, you can still use the main IBAN in the Account Number while you will see the QR-IBAN for the barcode.'string='QR-IBAN'
-
create(self, vals)@api.model -
write(self, vals)
Loading…