Swiss Postfinance FDS SEPA upload
l10n_ch_fds_upload_sepa · OCA/l10n-switzerland
Health
48/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 91 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
4 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.58 MB
Module directory on disk
Code analysis
5 migration notes
5 models
3 views
0 HTTP endpoints
Migration considerations
AccountPaymentOrder— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceFdsPostfinanceFile— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourcePaymenOrderUploadSepaWizard— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourcewizard_pain_001_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- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) 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
Dependencies
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 |
|---|---|---|---|---|
fds_postfinance_files_form_pain 000 |
FDS PostFinance file form pain 000 | fds.postfinance.file | form | Inherits l10n_ch_fds_postfinance.fds_postfinance_files_form |
view_fds_postfinance_account_sepa_form_inherited |
FDS PostFinance account view - Direct debit extension | fds.postfinance.account | form | Inherits l10n_ch_fds_postfinance.view_fds_postfinance_account_form |
wizard_pain_001_view |
Create SEPA Payment - Upload extension | payment.order.upload.sepa.wizard | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (0)
No new fields.
Public methods (1)-
open2generated(self)@api.multiReplace action to propose upload SEPA file to FDS. :return: window action
New fields (1)
-
sepa_upload_idsOne2many → fds.sepa.upload.historycomodel_name='fds.sepa.upload.history'inverse_name='fds_account_id'readonly=True
No public methods.
New fields (1)
-
payment_orderMany2one → account.payment.orderondelete='restrict'readonly=Truestring='Payment order' args: 'account.payment.order'
-
import2bankStatements(self)@api.multi
New fields (5)
-
directory_idMany2one → fds.postfinance.directorycomodel_name='fds.postfinance.directory'help='Remote directory where the file was uploaded'ondelete='restrict'readonly=Truestring='Directory' -
fds_account_idMany2one → fds.postfinance.accountcomodel_name='fds.postfinance.account'ondelete='restrict'readonly=Truestring='FDS account' -
filenameCharhelp='Remote name of the uploaded file'readonly=True -
payment_order_idMany2one → account.payment.ordercomodel_name='account.payment.order'ondelete='restrict'readonly=Truestring='Payment order' -
stateSelectiondefault='not_uploaded'help='Upload state of the file'readonly=Trueselection=[('not_uploaded', 'Not Uploaded'), ('uploaded', 'Uploaded')]
No public methods.
New fields (7)
-
attachment_idMany2one → ir.attachmentondelete='cascade'required=True args: 'ir.attachment' -
fds_account_idMany2one → fds.postfinance.accountdefault=<expr> args: 'fds.postfinance.account', 'FDS Account' -
fds_directory_idMany2one → fds.postfinance.directoryhelp='Select one upload directory. Be sure to have at least one directory configured with upload access rights.' args: 'fds.postfinance.directory', 'FDS Directory' -
file_dataBinaryreadonly=Truerelated='attachment_id.datas' args: 'Generated File' -
filenameCharreadonly=Truerelated='attachment_id.name' -
payment_order_idMany2one → account.payment.orderondelete='cascade'readonly=Truerequired=True args: 'account.payment.order', 'Payment Order' -
stateSelectiondefault='upload'readonly=True args: [('upload', 'upload'), ('finish', 'finish')]
-
upload_generate_file_button(self)@api.multiupload pain_001 file to the FDS Postfinance by sftp :returns action: configuration for the next wizard's view :raises Warning: - If no fds account and directory selected - if current user do not have key - if unable to connect to sftp
Loading…
Loading…