Polish E-Invoicing Batch Download
l10n_pl_edi_batch · odoo/odoo
Health
60/100
fair
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis
0 migration notes
5 models
1 view
0 HTTP endpoints
Description
Downloads the vendor bills received in KSeF in batches, one encrypted ZIP per timeframe, instead of one by one: the single-invoice download is limited to 64 invoices an hour.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form_l10n_pl_edi |
res.config.settings.view.form.inherit.l10n.pl.edi.batch | res.config.settings | form | Inherits l10n_pl_edi.res_config_settings_view_form_l10n_pl_edi |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (0)
No new fields.
Public methods (1)-
action_l10n_pl_edi_import_from_ksef(self)Request the latest bills of this company: the batch crons then import them, and fill the half-fetched ones. Holding the lock of the "request recent bills" cron, a click never runs with the cron or another click. Nothing is requested within TODAY_REQUEST_DELAY of the last request, nor while a today batch is still in progress.
New fields (15)
-
company_idMany2one → res.companycomodel_name='res.company'readonly=Truerequired=True -
contentJsonreadonly=True -
date_expiryDatetimecompute='_compute_date_expiry' -
date_fromDatetimereadonly=Truerequired=True -
date_toDatetimereadonly=Truerequired=True -
encrypted_symmetric_keyBinarygroups='base.group_system'help="The batch symmetric key encrypted with KSeF's public key, as sent with the export request."readonly=True args: 'Batch encrypted symmetric key' -
errorCharcompute='_compute_error' args: 'KSeF batch download error' -
is_expiredBooleancompute='_compute_is_expired' -
kindSelectioncompute='_compute_kind'search='_search_kind'selection=[('today', 'Today'), ('historic', 'Historic')] -
nameCharreadonly=Truerequired=True args: 'KSeF batch reference number' -
part_idsOne2many → l10n_pl_edi_batch.partcomodel_name='l10n_pl_edi_batch.part'copy=Falsehelp='The parts of the encrypted ZIP, as KSeF lists them once the export is ready.'inverse_name='batch_id'readonly=Truestring='KSeF Batch parts' -
raw_ivBinarygroups='base.group_system'help='AES initialization vector of the export, sent with the request.'readonly=True args: 'Batch iv' -
raw_symmetric_keyBinarygroups='base.group_system'help='AES key made for this export only: KSeF encrypts the parts with it, Odoo decrypts them.'readonly=True args: 'Batch symmetric key' -
retry_countIntegercopy=Falsedefault=0readonly=True -
stateSelectioncompute='_compute_state'search='_search_state'selection=STATES
No public methods.
New fields (7)
-
batch_idMany2one → l10n_pl_edi_batch.downloadcomodel_name='l10n_pl_edi_batch.download'readonly=Truerequired=True -
company_idMany2onerelated='batch_id.company_id' -
decrypted_fileBinaryattachment=Truecopy=Falsereadonly=True args: 'Decrypted part' -
download_methodSelectionreadonly=Truerequired=Trueselection=HTTP_METHODS -
download_urlCharreadonly=Truerequired=True -
part_nameCharreadonly=Truerequired=True args: 'KSeF part name' -
part_numberIntegerreadonly=Truerequired=True args: 'KSeF part ordinal number'
No public methods.
New fields (1)
-
l10n_pl_edi_batch_historic_dateDatehelp='The vendor bills received in KSeF before this day are still to be downloaded, down to the day KSeF became mandatory. Set by the first download of recent bills.' args: 'KSeF historic download date'
No public methods.
New fields (1)
-
l10n_pl_edi_batch_historic_dateDatereadonly=Falserelated='company_id.l10n_pl_edi_batch_historic_date'
No public methods.