Certificate

certificate
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/19.0/certificate
VERSION
VERSION 0.1
CATEGORY
CATEGORYHidden/Tools
LICENSE
LICENSEOEEL-1
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo S.A.
MAINTAINERS
MAINTAINERSOdoo S.A.
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Julien Castiaux, Alvaro Fuentes, Tiffany Chang (tic), Gorash, Antoine Boonen, Dylan Kiss (dyki), Paolo Gatti, Julien Alardot (jual), Vivek Pathak, sesn-odoo, mega, Krzysztof Magusiak (krma), Basioni (basm), cahu, MostafaTwfiq
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-07 18:40:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 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.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/18.0/certificate
VERSION
VERSION 0.1
CATEGORY
CATEGORYHidden/Tools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Odoo Online, Alvaro Fuentes, Tiffany Chang (tic), Antoine Boonen, Dylan Kiss (dyki), Paolo Gatti, Vivek Pathak, Xavier Bol (xbo), sesn-odoo, mega, cahu, Megaaaaaa, MostafaTwfiq
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 20:13:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base_setup
    - base
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 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 (UTC)' store=True string='Expiration date'
  • date_start Datetime
    compute='_compute_pem_certificate' help='The date on which the certificate starts to be valid (UTC)' 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.