HSBC Account Banking
account_banking_uk_hsbc · OCA/bank-payment
-
Security25/25No findings
-
Activity0/25Last human commit 104 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
banking_export_hsbc_wizard— Class 'banking_export_hsbc_wizard' 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 · sourcebanking_export_hsbc_wizard— Class 'banking_export_hsbc_wizard' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcebanking_hsbc_clientid_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcehsbc_clientid— Class 'hsbc_clientid' 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. (2 occurrences in this file) migration-old-api-base · sourcehsbc_clientid— Class 'hsbc_clientid' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (4 occurrences in this file) migration-old-style-fields · sourcehsbc_export— Class 'hsbc_export' 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. (2 occurrences in this file) migration-old-api-base · sourcehsbc_export— Class 'hsbc_export' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (3 occurrences in this file) migration-old-style-fields · sourceview_banking_export_hsbc_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcewizard_banking_export_wizard_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.tools.translate`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.tools`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (3 occurrences in this file) 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
Module to import HSBC format transation files (S.W.I.F.T MT940) and to export payments for HSBC.net (PAYMUL).
Currently it is targetting UK market, due to country variances of the MT940 and PAYMUL.
It is possible to extend this module to work with HSBC.net in other countries and potentially other banks.
This module adds above import/export filter to the account_banking module. All business logic is in account_banking module.
Initial release of this module was co-sponsored by Canonical.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
banking_hsbc_clientid_filter |
banking.hsbc.clientid.filter | banking.hsbc.clientid | search | New |
banking_hsbc_clientid_form |
banking.hsbc.clientid.form | banking.hsbc.clientid | form | New |
banking_hsbc_clientid_tree |
banking.hsbc.clientid.tree | banking.hsbc.clientid | tree | New |
view_banking_export_hsbc_form |
account.banking.export.hsbc.form | banking.export.hsbc | form | New |
view_banking_export_hsbc_tree |
account.banking.export.hsbc.tree | banking.export.hsbc | tree | New |
view_payment_order_form |
payment.order.form | payment.order | form | Inherits account_payment.view_payment_order_form |
wizard_banking_export_wizard_view |
banking.export.hsbc.wizard.view | banking.export.hsbc.wizard | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (4)-
create(self, cursor, uid, wizard_data, context=None)Retrieve a sane set of default values based on the payment orders from the context. -
wizard_cancel(self, cursor, uid, ids, context)Cancel the export: just drop the file -
wizard_export(self, cursor, uid, wizard_data_ids, context)Wizard to actually create the HSBC file -
wizard_save(self, cursor, uid, ids, context)Save the export: mark all payments in the file as 'sent'
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (2)-
info_owner(self, cr, uid, ids, name=None, args=None, context=None) -
info_partner(self, cr, uid, ids, name=None, args=None, context=None)
No new fields.
Public methods (0)No public methods.
Loading…