Switzerland - BVR/ESR Bank statement Completion
l10n_ch_payment_slip_account_statement_base_completion · OCA/l10n-switzerland
-
Security25/25No findings
-
Activity0/25Last human commit 121 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
BvrImporterWizard— Class 'BvrImporterWizard' still inherits from the old-style `orm.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceaccount_statement_completion_rule— Class 'account_statement_completion_rule' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceaccount_statement_completion_rule— Class 'account_statement_completion_rule' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.tools.translate`) (3 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · 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
Swiss BVR/ESR Bank statement Completion
Link module between the Swiss localization BVR/ESR module (l10n_ch_payment_slip) and the module adding a transaction ID field in the bank statement (account_statement_base_completion).
It adds a completion rule to search the partner from the invoice using the BVR/ESR reference.
When importing a BVR/ESR, the transaction ID is also copied to the transaction id field of the bank statement.
This module is needed if you use the Swiss localization module and the bank-statement-reconcile project in the banking addons (https://launchpad.net/banking-addons).
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (1)-
get_from_bvr_reference_and_invoice(self, cr, uid, st_line, context=None)Match the partner based on the BVR reference field of the invoice. Then, call the generic st_line method to complete other values. In that case, we always fulfill the reference of the line with the invoice name. :param dict st_line: read of the concerned account.bank.statement.line :return: A dict of value that can be passed directly to the write method of the statement line or {} {'partner_id': value, 'account_id' : value, ...}
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…