Switzerland - Bank type
l10n_ch_base_bank · OCA/l10n-switzerland
Health
75/100
good
-
Security25/25No findings
-
Activity0/25Last human commit 37 months ago
-
Required by25/255 modules depend on it
-
Maturity25/25In 8 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
5
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis
1 migration note
3 models
3 views
0 HTTP endpoints
Migration considerations
Bank— Migrating to 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- ebill_paynet, ebill_postfinance, l10n_ch_pain_base, l10n_ch_pain_credit_transfer, oca_all
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
add_custom_fields_on_bank |
add custom fields on bank | res.bank | form | Inherits base.view_res_bank_form |
add_custom_fields_on_bank_list |
add custom fields on bank list | res.bank | list | Inherits base.view_res_bank_tree |
view_bank_search |
res.bank.search | res.bank | search | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (1)-
partner_banks_to_show(self)Extend method from account_payment_partner to add specific logic for switzerland bank payments if base method does not give a result
New fields (4)
-
cityCharhelp='City of the bank'string='City' -
clearingCharhelp='Swiss unique bank identifier also used in IBAN number'string='Clearing number' -
codeCharhelp='Internal reference'string='Code' -
country_codeCharreadonly=Truerelated='country.code'string='Country code'
-
is_swiss_post(self) -
name_get(self)Format displayed name -
name_search(self, name, args=None, operator='ilike', limit=80)@api.modelExtends to look on bank code, bic, name, street and city
New fields (0)
No new fields.
Public methods (3)-
create(self, vals)@api.modelacc_number is mandatory for model, but in localization it could be not mandatory when we have postal number, so we compute acc_number in onchange methods and check it here also -
is_isr_issuer(self)Supplier will provide ISR/QRR reference numbers in two cases: - postal account number starting by 01 or 03 - QR-IBAN -
onchange_partner_set_acc_number(self)@api.onchange('partner_id')
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…