TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/l10n-finland · module folder · Try on Runboat
Module version
Category
Connector
Folder size
0.19 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-finland
Last tracking update
2026-09-08 17:33:27
Authors
Odoo Community Association (OCA), Futural
Maintainers
Odoo Community Association (OCA), Futural
Committers
Weblate, OCA-git-bot, Jarmo Kortetjärvi, oca-ci, Alexander Stadnitski
Odoo dependencies
Python dependencies
openupgradelib, requests, cachetools
System dependencies
None
Required by
None
Description
Apix EDI connector for receiving and sending eInvoices via Apix.
Also has the option to send invoices with Apix printing service.

Code Analysis info_outline

Views touched (4)
XML IDNameModelTypeStatus
view_apix_backend_form apix.backend.form apix.backend form New
view_invoice_tree account.invoice.tree.apix account.move tree Inherits account.view_invoice_tree
view_move_form APIX EDI Invoice account.move form Inherits account.view_move_form
view_move_form_admin APIX EDI Invoice Admin account.move form Inherits account.view_move_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (2)
  • apix_bind_ids One2many → apix.account.invoice
    comodel_name='apix.account.invoice' inverse_name='odoo_id' string='APIX Bindings'
  • date_einvoice_sent Date
    copy=False string='eInvoice sent'
Public methods (6)
  • action_einvoice_send(self)
  • add_finvoice_apix_fields(self, finvoice_attachment, attachments=False)
  • einvoice_send(self)
  • get_apix_backend(self)
  • get_apix_payload(self)
  • validate_einvoice(self)

New fields (1)
  • odoo_id Many2one → account.move
    comodel_name='account.move' ondelete='cascade' required=True string='Invoice'
Public methods (0)

No public methods.

New fields (21)
  • business_id Char
    compute='_compute_business_id' string='Business code'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True
  • company_uuid Char
    copy=False help='A unique identifier assigned to the company' readonly=True string='Company UUID'
  • contact_email Char
    readonly=True string='Contact email'
  • contact_person Char
    readonly=True string='Contact person'
  • customer_id Char
    string='Customer ID'
  • customer_number Char
    readonly=True string='Customer number'
  • debug Boolean
    default=False help='Save debugging data, like APIX payload as an attachment' string='Debug mode'
  • environment Selection
    default='production' required=True selection=[('test', 'Test'), ('production', 'Production')]
  • id_qualifier Selection
    default='y-tunnus' readonly=True required=True selection=[('y-tunnus', 'Business ID')] string='ID Qualifier'
  • invoice_template_id Many2one → ir.actions.report
    comodel_name='ir.actions.report' default=<expr> domain=[('model', '=', 'account.move')] help='Report template used when sending invoices via APIX' required=True string='Invoice template'
  • name Char
    default=<expr>
  • owner_id Char
    readonly=True string='Owner ID'
  • password Char
    copy=False help='Password used to login to laskumappi.fi' required=True
  • prefix Char
    help="Optional business code prefix. Some virtual operators use these. If you don't know what this is, leave it empty"
  • scheduler_count Integer
    compute='_compute_scheduler_count' string='Schedulers'
  • state Selection
    default='unconfirmed' selection=[('unconfirmed', 'Unconfirmed'), ('confirmed', 'Confirmed')]
  • support_email Char
    help='Replaces "servicedesk@apix.fi" with this address, if set' string='Support email'
  • transfer_id Char
    copy=False help='The identification used for sending and receiving invoices' readonly=True string='Transfer id'
  • transfer_key Char
    copy=False help='The password used for sending and receiving invoices' readonly=True string='Transfer key'
  • username Char
    help='Username used to login to laskumappi.fi' required=True
Public methods (20)
  • AuthenticateByUser(self)
  • Download(self, storage_id, storage_key)
  • ListInvoiceZIPs(self)
  • RetrieveTransferID(self)
  • SendInvoiceZIP(self, payload)
  • action_authenticate(self)
  • action_cron_einvoice_fetch(self)
  • action_einvoice_fetch(self)
  • action_einvoice_refetch(self)
  • action_open_schedulers(self)
    Open Apix-related cron jobs
  • action_reset_authentication(self)
  • download_invoice(self, storage_id, storage_key)
  • get_default_url_attributes(self, show_soft=True, show_ver=True, storage_id=False, storage_key=False, mark_received=False)
  • get_digest(self, values)
  • get_password_hash(self)
  • get_timestamp(self)
  • get_url(self, command, variables=False)
  • get_values_from_url(self, url)
  • list_invoices(self, refetch=False)
    Fetch list of invoices from APIX This will always fetch everything as there is no filter options. Filtering should be added when it will become available :param refetch: Re-fetch already downloaded invoices :return:
  • validateResponse(self, response)

New fields (4)
  • apix_accepted_document_id Char
    help='AcceptedDocumentID of this record in APIX' index=True string='APIX ID'
  • apix_batch_id Char
    index=True string='APIX Batch ID'
  • apix_cost_in_credits Float
    string='Cost in credits'
  • backend_id Many2one → apix.backend
    comodel_name='apix.backend' ondelete='restrict' required=True string='APIX Backend'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…