Repository
odoo/odoo · module folder
Module version
0.1
Category
Hidden/Tools
Folder size
0.96 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-15 22:44:21
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Odoo Translation Bot, Julien Castiaux, Alvaro Fuentes, Tiffany Chang (tic), Gorash, Dylan Kiss (dyki), Paolo Gatti, Antoine Boonen, Julien Alardot (jual), Vivek Pathak, Xavier Bol (xbo), sesn-odoo, mega, Louis Gobert, Krzysztof Magusiak (krma), Basioni (basm), cahu, MostafaTwfiq
Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
account_edi_proxy_client, l10n_co_electronic_invoice_self, l10n_es_edi_facturae, l10n_es_edi_sii, l10n_es_edi_tbai, l10n_es_edi_verifactu, l10n_pl_edi, l10n_sa_edi
Description

Code Analysis

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')] 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…