Skip to content
Health
93/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by25/25
    7 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 18.0

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

Security findings
Grave / minor (static analysis)
Required by
7
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.98 MB
Module directory on disk
Code analysis 0 migration notes 2 models 7 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
account_edi_proxy_client, l10n_es_edi_facturae, l10n_es_edi_sii, l10n_es_edi_tbai, l10n_es_edi_verifactu, l10n_pl_edi, l10n_sa_edi

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 7

XML IDNameModelTypeStatus
certificate_certificate_view_form certificate.certificate.form certificate.certificate form New
certificate_certificate_view_list certificate.certificate.list certificate.certificate list New
certificate_certificate_view_search certificate.certificate.search certificate.certificate search New
certificate_key_view_form certificate.key.form certificate.key form New
certificate_key_view_list certificate.key.list certificate.key list New
certificate_key_view_search certificate.key.search certificate.key search New
res_config_settings_view_form res.config.settings.view.form.inherit.certificate res.config.settings form Inherits base.res_config_settings_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (18)
  • active Boolean
    default=True help='Set active to false to archive the certificate' name='Active'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> ondelete='cascade' required=True string='Company'
  • content Binary
    readonly=False required=True string='Certificate'
  • content_format Selection
    compute='_compute_pem_certificate' selection=[('der', 'DER'), ('pem', 'PEM'), ('pkcs12', 'PKCS12')] store=True string='Original certificate format'
  • country_code Char
    depends=['company_id'] related='company_id.country_code'
  • date_end Datetime
    compute='_compute_pem_certificate' help='The date on which the certificate expires' store=True string='Expiration date'
  • date_start Datetime
    compute='_compute_pem_certificate' help='The date on which the certificate starts to be valid' store=True string='Available date'
  • is_valid Boolean
    compute='_compute_is_valid' search='_search_is_valid' string='Valid'
  • issuer_cert_id Many2one → certificate.certificate
    check_company=True comodel_name='certificate.certificate' compute='_compute_issuer_cert_id' string='Issuer Certificate'
  • loading_error Text
    compute='_compute_pem_certificate' store=True string='Loading error'
  • name Char
    string='Name'
  • pem_certificate Binary
    compute='_compute_pem_certificate' store=True string='Certificate in PEM format'
  • pkcs12_password Char
    help='Password to decrypt the PKS file.' string='Certificate Password'
  • private_key_id Many2one → certificate.key
    check_company=True comodel_name='certificate.key' compute='_compute_private_key' domain=[('public', '=', False)] readonly=False store=True string='Private Key'
  • public_key_id Many2one → certificate.key
    check_company=True comodel_name='certificate.key' domain=[('public', '=', True)] help='Used to set a public key in case the one self-contained in the certificate is erroneus.\n When a public key is set this way, it will be used instead of the one in the certificate.\n ' string='Public Key'
  • scope Selection
    selection=[('general', 'General'), ('ca', 'Certificate Authority')] string='Certificate scope'
  • serial_number Char
    compute='_compute_pem_certificate' help='The serial number to add to electronic documents' store=True string='Serial number'
  • subject_common_name Char
    compute='_compute_pem_certificate' store=True string='Subject Name'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (8)
  • active Boolean
    default=True help='Set active to false to archive the key.' name='Active'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> ondelete='cascade' required=True string='Company'
  • content Binary
    required=True string='Key file'
  • loading_error Text
    compute='_compute_pem_key' store=True string='Loading error'
  • name Char
    default='New key' string='Name'
  • password Char
    string='Private key password'
  • pem_key Binary
    compute='_compute_pem_key' store=True string='Key bytes in PEM format'
  • public Boolean
    compute='_compute_pem_key' store=True string='Public/Private key'
Public methods (0)

No public methods.

Loading…

Loading…