Skip to content
Health
48/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 91 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 8.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

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 IDNameModelTypeStatus
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.multi
    Replace action to propose upload SEPA file to FDS. :return: window action

New fields (1)
  • sepa_upload_ids One2many → fds.sepa.upload.history
    comodel_name='fds.sepa.upload.history' inverse_name='fds_account_id' readonly=True
Public methods (0)

No public methods.

New fields (1)
  • payment_order Many2one → account.payment.order
    ondelete='restrict' readonly=True string='Payment order' args: 'account.payment.order'
Public methods (1)
  • import2bankStatements(self)
    @api.multi

New fields (5)
  • directory_id Many2one → fds.postfinance.directory
    comodel_name='fds.postfinance.directory' help='Remote directory where the file was uploaded' ondelete='restrict' readonly=True string='Directory'
  • fds_account_id Many2one → fds.postfinance.account
    comodel_name='fds.postfinance.account' ondelete='restrict' readonly=True string='FDS account'
  • filename Char
    help='Remote name of the uploaded file' readonly=True
  • payment_order_id Many2one → account.payment.order
    comodel_name='account.payment.order' ondelete='restrict' readonly=True string='Payment order'
  • state Selection
    default='not_uploaded' help='Upload state of the file' readonly=True selection=[('not_uploaded', 'Not Uploaded'), ('uploaded', 'Uploaded')]
Public methods (0)

No public methods.

New fields (7)
  • attachment_id Many2one → ir.attachment
    ondelete='cascade' required=True args: 'ir.attachment'
  • fds_account_id Many2one → fds.postfinance.account
    default=<expr> args: 'fds.postfinance.account', 'FDS Account'
  • fds_directory_id Many2one → fds.postfinance.directory
    help='Select one upload directory. Be sure to have at least one directory configured with upload access rights.' args: 'fds.postfinance.directory', 'FDS Directory'
  • file_data Binary
    readonly=True related='attachment_id.datas' args: 'Generated File'
  • filename Char
    readonly=True related='attachment_id.name'
  • payment_order_id Many2one → account.payment.order
    ondelete='cascade' readonly=True required=True args: 'account.payment.order', 'Payment Order'
  • state Selection
    default='upload' readonly=True args: [('upload', 'upload'), ('finish', 'finish')]
Public methods (1)
  • upload_generate_file_button(self)
    @api.multi
    upload 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…