Partner Identification Numbers

partner_identification
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/19.0/partner_identification
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, bosd, Fernando, Frédéric GRALL
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:47
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to manage all sort of identification numbers and
certificates which are assigned to a partner (company or individual) and
vary from country to country.

- Commercial register
- VAT ID
- Fiscal ID's
- Membership numbers
- Driver license
- etc

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
view_partner_form res.partner.form.id_number res.partner page Inherits base.view_partner_form
view_partner_id_category_form res.partner.id_category.form res.partner.id_category form New
view_partner_id_category_search res.partner.id_category.search res.partner.id_category search New
view_partner_id_category_tree res.partner.id_category.list res.partner.id_category list New
view_partner_id_numbers_form res.partner.id_number.form res.partner.id_number form New
view_partner_id_numbers_kanban res.partner.id_number.kanban res.partner.id_number kanban New
view_partner_id_numbers_search res.partner.id_number.search res.partner.id_number search New
view_partner_id_numbers_tree res.partner.id_number.list res.partner.id_number list New
Models touched (3)

New fields (1)
  • id_numbers One2many → res.partner.id_number
    comodel_name='res.partner.id_number' inverse_name='partner_id' string='Identification Numbers'
Public methods (0)

No public methods.

New fields (5)
  • active Boolean
    default=True
  • code Char
    help="Abbreviation or acronym of this ID type. For example, 'driver_license'" required=True
  • color Integer
    default=<expr> string='Color Index'
  • name Char
    help="Name of this ID type. For example, 'Driver License'" required=True string='ID name' translate=True
  • validation_code Text
    help='Python code called to validate an id number.' args: 'Python validation code'
Public methods (1)
  • validate_id_number(self, id_number)
    Validate the given ID number The method raises an odoo.exceptions.ValidationError if the eval of python validation code fails

New fields (14)
  • active Boolean
    default=True
  • category_id Many2one → res.partner.id_category
    comodel_name='res.partner.id_category' help='ID type defined in configuration. For example, Driver License' required=True string='Category'
  • comment Html
    sanitize=True string='Notes'
  • date_issued Date
    help='Issued date. For example, date when person approved his driving exam, 21/10/2009' string='Issued on'
  • date_issued Date
    tracking=True
  • name Char
    help='The ID itself. For example, Driver License number of this person' required=True string='ID Number'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' ondelete='cascade' required=True string='Partner'
  • partner_issued_id Many2one → res.partner
    comodel_name='res.partner' help='Another partner, who issued this ID. For example, Traffic National Institution' string='Issued by' tracking=True
  • place_issuance Char
    help='The place where the ID has been issued. For example the country for passports and visa' string='Place of Issuance'
  • status Selection
    default='draft' tracking=True args: [('draft', 'New'), ('open', 'Running'), ('pending', 'To Renew'), ('close', 'Expired')]
  • valid_from Date
    help='Validation period stating date.' string='Valid from'
  • valid_from Date
    tracking=True
  • valid_until Date
    help='Expiration date. For example, date when person needs to renew his driver license, 21/10/2019' string='Valid until'
  • valid_until Date
    tracking=True
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • validate_id_number(self)
    @api.constrains('name', 'category_id')
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/18.0/partner_identification
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
COMMITTERS
COMMITTERSVíctor Martínez, JordiMForgeFlow, Weblate, OCA-git-bot, oca-ci, Fernando, chaule97
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to manage all sort of identification numbers and
certificates which are assigned to a partner (company or individual) and
vary from country to country.

- Commercial register
- VAT ID
- Fiscal ID's
- Membership numbers
- Driver license
- etc

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_partner_form res.partner.form.id_number res.partner page Inherits base.view_partner_form
view_partner_id_category_form res.partner.id_category.form res.partner.id_category form New
view_partner_id_category_tree res.partner.id_category.list res.partner.id_category list New
view_partner_id_numbers_form res.partner.id_number.form res.partner.id_number form New
view_partner_id_numbers_tree res.partner.id_number.list res.partner.id_number list New
Models touched (3)

New fields (1)
  • id_numbers One2many → res.partner.id_number
    comodel_name='res.partner.id_number' inverse_name='partner_id' string='Identification Numbers'
Public methods (0)

No public methods.

New fields (5)
  • active Boolean
    default=True
  • code Char
    help="Abbreviation or acronym of this ID type. For example, 'driver_license'" required=True
  • color Integer
    default=_get_default_color string='Color Index'
  • name Char
    help="Name of this ID type. For example, 'Driver License'" required=True string='ID name' translate=True
  • validation_code Text
    help='Python code called to validate an id number.' args: 'Python validation code'
Public methods (1)
  • validate_id_number(self, id_number)
    Validate the given ID number The method raises an odoo.exceptions.ValidationError if the eval of python validation code fails

New fields (11)
  • active Boolean
    default=True
  • category_id Many2one → res.partner.id_category
    comodel_name='res.partner.id_category' help='ID type defined in configuration. For example, Driver License' required=True string='Category'
  • comment Text
    string='Notes'
  • date_issued Date
    help='Issued date. For example, date when person approved his driving exam, 21/10/2009' string='Issued on'
  • name Char
    help='The ID itself. For example, Driver License number of this person' required=True string='ID Number'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' ondelete='cascade' required=True string='Partner'
  • partner_issued_id Many2one → res.partner
    comodel_name='res.partner' help='Another partner, who issued this ID. For example, Traffic National Institution' string='Issued by'
  • place_issuance Char
    help='The place where the ID has been issued. For example the country for passports and visa' string='Place of Issuance'
  • status Selection
    args: [('draft', 'New'), ('open', 'Running'), ('pending', 'To Renew'), ('close', 'Expired')]
  • valid_from Date
    help='Validation period stating date.' string='Valid from'
  • valid_until Date
    help='Expiration date. For example, date when person needs to renew his driver license, 21/10/2019' string='Valid until'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • validate_id_number(self)
    @api.constrains('name', 'category_id')
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/17.0/partner_identification
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
COMMITTERS
COMMITTERSSergio Zanchetta, Weblate, OCA-git-bot, oca-ci, Jérémy Didderen, Nils Coenen, chaule97, Vehiana Tepuhiarii
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows to manage all sort of identification numbers and
certificates which are assigned to a partner (company or individual) and
vary from country to country.

- Commercial register
- VAT ID
- Fiscal ID's
- Membership numbers
- Driver license
- etc

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_partner_form res.partner.form.id_number res.partner page Inherits base.view_partner_form
view_partner_id_category_form res.partner.id_category.form res.partner.id_category form New
view_partner_id_category_tree res.partner.id_category.tree res.partner.id_category tree New
view_partner_id_numbers_form res.partner.id_number.form res.partner.id_number form New
view_partner_id_numbers_tree res.partner.id_number.tree res.partner.id_number tree New
Models touched (3)

New fields (1)
  • id_numbers One2many → res.partner.id_number
    comodel_name='res.partner.id_number' inverse_name='partner_id' string='Identification Numbers'
Public methods (0)

No public methods.

New fields (5)
  • active Boolean
    default=True
  • code Char
    help="Abbreviation or acronym of this ID type. For example, 'driver_license'" required=True
  • color Integer
    default=_get_default_color string='Color Index'
  • name Char
    help="Name of this ID type. For example, 'Driver License'" required=True string='ID name' translate=True
  • validation_code Text
    help='Python code called to validate an id number.' args: 'Python validation code'
Public methods (1)
  • validate_id_number(self, id_number)
    Validate the given ID number The method raises an odoo.exceptions.ValidationError if the eval of python validation code fails

New fields (11)
  • active Boolean
    default=True
  • category_id Many2one → res.partner.id_category
    comodel_name='res.partner.id_category' help='ID type defined in configuration. For example, Driver License' required=True string='Category'
  • comment Text
    string='Notes'
  • date_issued Date
    help='Issued date. For example, date when person approved his driving exam, 21/10/2009' string='Issued on'
  • name Char
    help='The ID itself. For example, Driver License number of this person' required=True string='ID Number'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' ondelete='cascade' required=True string='Partner'
  • partner_issued_id Many2one → res.partner
    comodel_name='res.partner' help='Another partner, who issued this ID. For example, Traffic National Institution' string='Issued by'
  • place_issuance Char
    help='The place where the ID has been issued. For example the country for passports and visa' string='Place of Issuance'
  • status Selection
    args: [('draft', 'New'), ('open', 'Running'), ('pending', 'To Renew'), ('close', 'Expired')]
  • valid_from Date
    help='Validation period stating date.' string='Valid from'
  • valid_until Date
    help='Expiration date. For example, date when person needs to renew his driver license, 21/10/2019' string='Valid until'
Public methods (2)
  • default_get(self, fields_list)
    @api.model
  • validate_id_number(self)
    @api.constrains('name', 'category_id')
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/16.0/partner_identification
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
COMMITTERS
COMMITTERSJordiMForgeFlow, Weblate, OCA-git-bot, oca-ci, mle, Danny de Jong
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:44
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_partner_form res.partner.form.id_number res.partner page Inherits base.view_partner_form
view_partner_id_category_form res.partner.id_category.form res.partner.id_category form New
view_partner_id_category_tree res.partner.id_category.tree res.partner.id_category tree New
view_partner_id_numbers_form res.partner.id_number.form res.partner.id_number form New
view_partner_id_numbers_tree res.partner.id_number.tree res.partner.id_number tree New
Models touched (3)

New fields (1)
  • id_numbers One2many → res.partner.id_number
    comodel_name='res.partner.id_number' inverse_name='partner_id' string='Identification Numbers'
Public methods (0)

No public methods.

New fields (5)
  • active Boolean
    default=True
  • code Char
    help="Abbreviation or acronym of this ID type. For example, 'driver_license'" required=True
  • color Integer
    default=_get_default_color string='Color Index'
  • name Char
    help="Name of this ID type. For example, 'Driver License'" required=True string='ID name' translate=True
  • validation_code Text
    help='Python code called to validate an id number.' args: 'Python validation code'
Public methods (1)
  • validate_id_number(self, id_number)
    Validate the given ID number The method raises an odoo.exceptions.ValidationError if the eval of python validation code fails

New fields (11)
  • active Boolean
    default=True
  • category_id Many2one → res.partner.id_category
    comodel_name='res.partner.id_category' help='ID type defined in configuration. For example, Driver License' required=True string='Category'
  • comment Text
    string='Notes'
  • date_issued Date
    help='Issued date. For example, date when person approved his driving exam, 21/10/2009' string='Issued on'
  • name Char
    help='The ID itself. For example, Driver License number of this person' required=True string='ID Number'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' ondelete='cascade' required=True string='Partner'
  • partner_issued_id Many2one → res.partner
    comodel_name='res.partner' help='Another partner, who issued this ID. For example, Traffic National Institution' string='Issued by'
  • place_issuance Char
    help='The place where the ID has been issued. For example the country for passports and visa' string='Place of Issuance'
  • status Selection
    args: [('draft', 'New'), ('open', 'Running'), ('pending', 'To Renew'), ('close', 'Expired')]
  • valid_from Date
    help='Validation period stating date.' string='Valid from'
  • valid_until Date
    help='Expiration date. For example, date when person needs to renew his driver license, 21/10/2019' string='Valid until'
Public methods (2)
  • default_get(self, fields)
    @api.model
  • validate_id_number(self)
    @api.constrains('name', 'category_id')
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/15.0/partner_identification
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Jérémy Didderen
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:32
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_partner_form res.partner.form.id_number res.partner page Inherits base.view_partner_form
view_partner_id_category_form res.partner.id_category.form res.partner.id_category form New
view_partner_id_category_tree res.partner.id_category.tree res.partner.id_category tree New
view_partner_id_numbers_form res.partner.id_number.form res.partner.id_number form New
view_partner_id_numbers_tree res.partner.id_number.tree res.partner.id_number tree New
Models touched (3)

New fields (1)
  • id_numbers One2many → res.partner.id_number
    comodel_name='res.partner.id_number' inverse_name='partner_id' string='Identification Numbers'
Public methods (0)

No public methods.

New fields (5)
  • active Boolean
    default=True
  • code Char
    help="Abbreviation or acronym of this ID type. For example, 'driver_license'" required=True
  • color Integer
    default=_get_default_color string='Color Index'
  • name Char
    help="Name of this ID type. For example, 'Driver License'" required=True string='ID name' translate=True
  • validation_code Text
    help='Python code called to validate an id number.' args: 'Python validation code'
Public methods (1)
  • validate_id_number(self, id_number)
    Validate the given ID number The method raises an odoo.exceptions.ValidationError if the eval of python validation code fails

New fields (11)
  • active Boolean
    default=True
  • category_id Many2one → res.partner.id_category
    comodel_name='res.partner.id_category' help='ID type defined in configuration. For example, Driver License' required=True string='Category'
  • comment Text
    string='Notes'
  • date_issued Date
    help='Issued date. For example, date when person approved his driving exam, 21/10/2009' string='Issued on'
  • name Char
    help='The ID itself. For example, Driver License number of this person' required=True string='ID Number'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' ondelete='cascade' required=True string='Partner'
  • partner_issued_id Many2one → res.partner
    comodel_name='res.partner' help='Another partner, who issued this ID. For example, Traffic National Institution' string='Issued by'
  • place_issuance Char
    help='The place where the ID has been issued. For example the country for passports and visa' string='Place of Issuance'
  • status Selection
    args: [('draft', 'New'), ('open', 'Running'), ('pending', 'To Renew'), ('close', 'Expired')]
  • valid_from Date
    help='Validation period stating date.' string='Valid from'
  • valid_until Date
    help='Expiration date. For example, date when person needs to renew his driver license, 21/10/2019' string='Valid until'
Public methods (2)
  • default_get(self, fields)
    @api.model
  • validate_id_number(self)
    @api.constrains('name', 'category_id')
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/14.0/partner_identification
VERSION
VERSION 1.4.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Cyril VINH-TUNG, oca-ci, Chanakya Soni, Tran Thanh Phuc, oca-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_partner_form res.partner.form.id_number res.partner page Inherits base.view_partner_form
view_partner_id_category_form res.partner.id_category.form res.partner.id_category form New
view_partner_id_category_tree res.partner.id_category.tree res.partner.id_category tree New
view_partner_id_numbers_form res.partner.id_number.form res.partner.id_number form New
view_partner_id_numbers_tree res.partner.id_number.tree res.partner.id_number tree New
Models touched (3)

New fields (1)
  • id_numbers One2many → res.partner.id_number
    comodel_name='res.partner.id_number' inverse_name='partner_id' string='Identification Numbers'
Public methods (0)

No public methods.

New fields (5)
  • active Boolean
    default=True string='Active'
  • code Char
    help="Abbreviation or acronym of this ID type. For example, 'driver_license'" required=True size=16 string='Code'
  • color Integer
    default=_get_default_color string='Color Index'
  • name Char
    help="Name of this ID type. For example, 'Driver License'" required=True string='ID name' translate=True
  • validation_code Text
    help='Python code called to validate an id number.' args: 'Python validation code'
Public methods (1)
  • validate_id_number(self, id_number)
    Validate the given ID number The method raises an odoo.exceptions.ValidationError if the eval of python validation code fails

New fields (11)
  • active Boolean
    default=True string='Active'
  • category_id Many2one → res.partner.id_category
    comodel_name='res.partner.id_category' help='ID type defined in configuration. For example, Driver License' required=True string='Category'
  • comment Text
    string='Notes'
  • date_issued Date
    help='Issued date. For example, date when person approved his driving exam, 21/10/2009' string='Issued on'
  • name Char
    help='The ID itself. For example, Driver License number of this person' required=True string='ID Number'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' ondelete='cascade' required=True string='Partner'
  • partner_issued_id Many2one → res.partner
    comodel_name='res.partner' help='Another partner, who issued this ID. For example, Traffic National Institution' string='Issued by'
  • place_issuance Char
    help='The place where the ID has been issued. For example the country for passports and visa' string='Place of Issuance'
  • status Selection
    args: [('draft', 'New'), ('open', 'Running'), ('pending', 'To Renew'), ('close', 'Expired')]
  • valid_from Date
    help='Validation period stating date.' string='Valid from'
  • valid_until Date
    help='Expiration date. For example, date when person needs to renew his driver license, 21/10/2019' string='Valid until'
Public methods (2)
  • default_get(self, fields)
    @api.model
  • validate_id_number(self)
    @api.constrains('name', 'category_id')
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/13.0/partner_identification
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
COMMITTERS
COMMITTERSOCA Transbot, Thierry Ducrest, oca-travis, Weblate, OCA-git-bot, Anna Janiszewska, Nikos Tsirintanis, laurent.corron
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_partner_form res.partner.form.id_number res.partner page Inherits base.view_partner_form
view_partner_id_category_form res.partner.id_category.form res.partner.id_category form New
view_partner_id_category_tree res.partner.id_category.tree res.partner.id_category tree New
view_partner_id_numbers_form res.partner.id_number.form res.partner.id_number form New
view_partner_id_numbers_tree res.partner.id_number.tree res.partner.id_number tree New
Models touched (3)

New fields (1)
  • id_numbers One2many → res.partner.id_number
    comodel_name='res.partner.id_number' inverse_name='partner_id' string='Identification Numbers'
Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True string='Active'
  • code Char
    help="Abbreviation or acronym of this ID type. For example, 'driver_license'" required=True size=16 string='Code'
  • name Char
    help="Name of this ID type. For example, 'Driver License'" required=True string='ID name' translate=True
  • validation_code Text
    default=<expr> help='Python code called to validate an id number.' args: 'Python validation code'
Public methods (1)
  • validate_id_number(self, id_number)
    Validate the given ID number The method raises an odoo.exceptions.ValidationError if the eval of python validation code fails

New fields (11)
  • active Boolean
    default=True string='Active'
  • category_id Many2one → res.partner.id_category
    comodel_name='res.partner.id_category' help='ID type defined in configuration. For example, Driver License' required=True string='Category'
  • comment Text
    string='Notes'
  • date_issued Date
    help='Issued date. For example, date when person approved his driving exam, 21/10/2009' string='Issued on'
  • name Char
    help='The ID itself. For example, Driver License number of this person' required=True string='ID Number'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' ondelete='cascade' required=True string='Partner'
  • partner_issued_id Many2one → res.partner
    comodel_name='res.partner' help='Another partner, who issued this ID. For example, Traffic National Institution' string='Issued by'
  • place_issuance Char
    help='The place where the ID has been issued. For example the country for passports and visa' string='Place of Issuance'
  • status Selection
    args: [('draft', 'New'), ('open', 'Running'), ('pending', 'To Renew'), ('close', 'Expired')]
  • valid_from Date
    help='Validation period stating date.' string='Valid from'
  • valid_until Date
    help='Expiration date. For example, date when person needs to renew his driver license, 21/10/2019' string='Valid until'
Public methods (1)
  • validate_id_number(self)
    @api.constrains('name', 'category_id')
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/12.0/partner_identification
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, Onestein, ChriCar Beteiligungs- und Beratungs- GmbH
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, tarteo
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_partner_form res.partner.form.id_number res.partner page Inherits base.view_partner_form
view_partner_id_category_form res.partner.id_category.form res.partner.id_category form New
view_partner_id_category_tree res.partner.id_category.tree res.partner.id_category tree New
view_partner_id_numbers_form res.partner.id_number.form res.partner.id_number form New
view_partner_id_numbers_tree res.partner.id_number.tree res.partner.id_number tree New
Models touched (3)

New fields (1)
  • id_numbers One2many → res.partner.id_number
    comodel_name='res.partner.id_number' inverse_name='partner_id' string='Identification Numbers'
Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True string='Active'
  • code Char
    help="Abbreviation or acronym of this ID type. For example, 'driver_license'" required=True size=16 string='Code'
  • name Char
    help="Name of this ID type. For example, 'Driver License'" required=True string='ID name' translate=True
  • validation_code Text
    default=<expr> help='Python code called to validate an id number.' args: 'Python validation code'
Public methods (1)
  • validate_id_number(self, id_number)
    @api.multi
    Validate the given ID number The method raises an odoo.exceptions.ValidationError if the eval of python validation code fails

New fields (11)
  • active Boolean
    default=True string='Active'
  • category_id Many2one → res.partner.id_category
    comodel_name='res.partner.id_category' help='ID type defined in configuration. For example, Driver License' required=True string='Category'
  • comment Text
    string='Notes'
  • date_issued Date
    help='Issued date. For example, date when person approved his driving exam, 21/10/2009' string='Issued on'
  • name Char
    help='The ID itself. For example, Driver License number of this person' required=True string='ID Number'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' ondelete='cascade' required=True string='Partner'
  • partner_issued_id Many2one → res.partner
    comodel_name='res.partner' help='Another partner, who issued this ID. For example, Traffic National Institution' string='Issued by'
  • place_issuance Char
    help='The place where the ID has been issued. For example the country for passports and visa' string='Place of Issuance'
  • status Selection
    args: [('draft', 'New'), ('open', 'Running'), ('pending', 'To Renew'), ('close', 'Expired')]
  • valid_from Date
    help='Validation period stating date.' string='Valid from'
  • valid_until Date
    help='Expiration date. For example, date when person needs to renew his driver license, 21/10/2019' string='Valid until'
Public methods (1)
  • validate_id_number(self)
    @api.constrains('name', 'category_id')
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/11.0/partner_identification
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, ChriCar Beteiligungs- und Beratungs- GmbH
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, ChriCar Beteiligungs- und Beratungs- GmbH
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Simone Orsi
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - contacts
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_partner_form res.partner.form.id_number res.partner page Inherits base.view_partner_form
view_partner_id_category_form res.partner.id_category.form res.partner.id_category form New
view_partner_id_category_tree res.partner.id_category.tree res.partner.id_category tree New
view_partner_id_numbers_form res.partner.id_number.form res.partner.id_number form New
view_partner_id_numbers_tree res.partner.id_number.tree res.partner.id_number tree New
Models touched (3)

New fields (1)
  • id_numbers One2many → res.partner.id_number
    comodel_name='res.partner.id_number' inverse_name='partner_id' string='Identification Numbers'
Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True string='Active'
  • code Char
    help="Abbreviation or acronym of this ID type. For example, 'driver_license'" required=True size=16 string='Code'
  • name Char
    help="Name of this ID type. For example, 'Driver License'" required=True string='ID name' translate=True
  • validation_code Text
    default=<expr> help='Python code called to validate an id number.' args: 'Python validation code'
Public methods (1)
  • validate_id_number(self, id_number)
    @api.multi
    Validate the given ID number The method raises an openerp.exceptions.ValidationError if the eval of python validation code fails

New fields (11)
  • active Boolean
    default=True string='Active'
  • category_id Many2one → res.partner.id_category
    comodel_name='res.partner.id_category' help='ID type defined in configuration. For example, Driver License' required=True string='Category'
  • comment Text
    string='Notes'
  • date_issued Date
    help='Issued date. For example, date when person approved his driving exam, 21/10/2009' string='Issued on'
  • name Char
    help='The ID itself. For example, Driver License number of this person' required=True string='ID Number'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' ondelete='cascade' required=True string='Partner'
  • partner_issued_id Many2one → res.partner
    comodel_name='res.partner' help='Another partner, who issued this ID. For example, Traffic National Institution' string='Issued by'
  • place_issuance Char
    help='The place where the ID has been issued. For example the country for passports and visa' string='Place of Issuance'
  • status Selection
    args: [('draft', 'New'), ('open', 'Running'), ('pending', 'To Renew'), ('close', 'Expired')]
  • valid_from Date
    help='Validation period stating date.' string='Valid from'
  • valid_until Date
    help='Expiration date. For example, date when person needs to renew his driver license, 21/10/2019' string='Valid until'
Public methods (1)
  • validate_id_number(self)
    @api.constrains('name', 'category_id')
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/10.0/partner_identification
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, ChriCar Beteiligungs- und Beratungs- GmbH
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, ChriCar Beteiligungs- und Beratungs- GmbH
COMMITTERS
COMMITTERSPedro M. Baeza, Jairo Llopis, Denis Roussel, OCA Transbot, oca-travis, Weblate, Rafael Blasco, OCA-git-bot, David
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
view_partner_form res.partner.form.id_number res.partner page Inherits base.view_partner_form
view_partner_id_category_form res.partner.id_category.form res.partner.id_category form New
view_partner_id_category_search res.partner.id_category.search res.partner.id_category search New
view_partner_id_category_tree res.partner.id_category.tree res.partner.id_category tree New
view_partner_id_numbers_form res.partner.id_number.form res.partner.id_number form New
view_partner_id_numbers_tree res.partner.id_number.tree res.partner.id_number tree New
Models touched (3)

New fields (1)
  • id_numbers One2many → res.partner.id_number
    comodel_name='res.partner.id_number' inverse_name='partner_id' string='Identification Numbers'
Public methods (0)

No public methods.

New fields (5)
  • active Boolean
    default=True string='Active'
  • code Char
    help="Abbreviation or acronym of this ID type. For example, 'driver_license'" required=True size=16 string='Code'
  • company_type Selection
    selection=<expr>
  • name Char
    help="Name of this ID type. For example, 'Driver License'" required=True string='ID name' translate=True
  • validation_code Text
    default=_default_validation_code help='Python code called to validate an id number.' args: 'Python validation code'
Public methods (1)
  • validate_id_number(self, id_number)
    @api.multi
    Validate the given ID number The method raises an openerp.exceptions.ValidationError if the eval of python validation code fails

New fields (11)
  • active Boolean
    default=True string='Active'
  • category_id Many2one → res.partner.id_category
    comodel_name='res.partner.id_category' help='ID type defined in configuration. For example, Driver License' required=True string='Category'
  • comment Text
    string='Notes'
  • date_issued Date
    help='Issued date. For example, date when person approved his driving exam, 21/10/2009' string='Issued on'
  • name Char
    help='The ID itself. For example, Driver License number of this person' required=True string='ID Number'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' ondelete='cascade' required=True string='Partner'
  • partner_issued_id Many2one → res.partner
    comodel_name='res.partner' help='Another partner, who issued this ID. For example, Traffic National Institution' string='Issued by'
  • place_issuance Char
    help='The place where the ID has been issued. For example the country for passports and visa' string='Place of Issuance'
  • status Selection
    args: [('draft', 'New'), ('open', 'Running'), ('pending', 'To Renew'), ('close', 'Expired')]
  • valid_from Date
    help='Validation period stating date.' string='Valid from'
  • valid_until Date
    help='Expiration date. For example, date when person needs to renew his driver license, 21/10/2019' string='Valid until'
Public methods (1)
  • validate_id_number(self)
    @api.constrains('name', 'category_id')
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/9.0/partner_identification
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV, Antiun Ingeniería S.L., ChriCar Beteiligungs- und Beratungs- GmbH
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, ACSONE SA/NV, Antiun Ingeniería S.L., ChriCar Beteiligungs- und Beratungs- GmbH
COMMITTERS
COMMITTERSGitHub, Jairo Llopis, Laurent Mignon (ACSONE), mreficent, OCA Transbot, Laurent Mignon, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_partner_form res.partner.form.id_number res.partner page Inherits base.view_partner_form
view_partner_id_category_form res.partner.id_category.form res.partner.id_category form New
view_partner_id_category_tree res.partner.id_category.tree res.partner.id_category tree New
view_partner_id_numbers_form res.partner.id_number.form res.partner.id_number form New
view_partner_id_numbers_tree res.partner.id_number.tree res.partner.id_number tree New
Models touched (3)

New fields (1)
  • id_numbers One2many → res.partner.id_number
    comodel_name='res.partner.id_number' inverse_name='partner_id' string='Identification Numbers'
Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True string='Active'
  • code Char
    help="Abbreviation or acronym of this ID type. For example, 'driver_license'" required=True size=16 string='Code'
  • name Char
    help="Name of this ID type. For example, 'Driver License'" required=True string='ID name' translate=True
  • validation_code Text
    default=_default_validation_code help='Python code called to validate an id number.' args: 'Python validation code'
Public methods (1)
  • validate_id_number(self, id_number)
    @api.multi
    Validate the given ID number The method raises an openerp.exceptions.ValidationError if the eval of python validation code fails

New fields (11)
  • active Boolean
    default=True string='Active'
  • category_id Many2one → res.partner.id_category
    comodel_name='res.partner.id_category' help='ID type defined in configuration. For example, Driver License' required=True string='Category'
  • comment Text
    string='Notes'
  • date_issued Date
    help='Issued date. For example, date when person approved his driving exam, 21/10/2009' string='Issued on'
  • name Char
    help='The ID itself. For example, Driver License number of this person' required=True string='ID Number'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' ondelete='cascade' required=True string='Partner'
  • partner_issued_id Many2one → res.partner
    comodel_name='res.partner' help='Another partner, who issued this ID. For example, Traffic National Institution' string='Issued by'
  • place_issuance Char
    help='The place where the ID has been issued. For example the country for passports and visa' string='Place of Issuance'
  • status Selection
    args: [('draft', 'New'), ('open', 'Running'), ('pending', 'To Renew'), ('close', 'Expired')]
  • valid_from Date
    help='Validation period stating date.' string='Valid from'
  • valid_until Date
    help='Expiration date. For example, date when person needs to renew his driver license, 21/10/2019' string='Valid until'
Public methods (1)
  • validate_id_number(self)
    @api.constrains('name', 'category_id')
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/8.0/partner_identification
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, ChriCar Beteiligungs- und Beratungs- GmbH
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, ChriCar Beteiligungs- und Beratungs- GmbH
COMMITTERS
COMMITTERSDenis Roussel, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Kevin Graveman
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_partner_form res.partner.form.id_number res.partner page Inherits base.view_partner_form
view_partner_id_category_form res.partner.id_category.form res.partner.id_category form New
view_partner_id_category_tree res.partner.id_category.tree res.partner.id_category tree New
view_partner_id_numbers_form res.partner.id_number.form res.partner.id_number form New
view_partner_id_numbers_tree res.partner.id_number.tree res.partner.id_number tree New
Models touched (3)

New fields (1)
  • id_numbers One2many → res.partner.id_number
    comodel_name='res.partner.id_number' inverse_name='partner_id' string='Identification Numbers'
Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True string='Active'
  • code Char
    help="Abbreviation or acronym of this ID type. For example, 'driver_license'" required=True size=16 string='Code'
  • name Char
    help="Name of this ID type. For example, 'Driver License'" required=True string='ID name' translate=True
  • validation_code Text
    default=_default_validation_code help='Python code called to validate an id number.' args: 'Python validation code'
Public methods (1)
  • validate_id_number(self, id_number)
    @api.multi
    Validate the given ID number The method raises an openerp.exceptions.ValidationError if the eval of python validation code fails

New fields (11)
  • active Boolean
    default=True string='Active'
  • category_id Many2one → res.partner.id_category
    comodel_name='res.partner.id_category' help='ID type defined in configuration. For example, Driver License' required=True string='Category'
  • comment Text
    string='Notes'
  • date_issued Date
    help='Issued date. For example, date when person approved his driving exam, 21/10/2009' string='Issued on'
  • name Char
    help='The ID itself. For example, Driver License number of this person' required=True string='ID Number'
  • partner_id Many2one → res.partner
    comodel_name='res.partner' ondelete='cascade' required=True string='Partner'
  • partner_issued_id Many2one → res.partner
    comodel_name='res.partner' help='Another partner, who issued this ID. For example, Traffic National Institution' string='Issued by'
  • place_issuance Char
    help='The place where the ID has been issued. For example the country for passports and visa' string='Place of Issuance'
  • status Selection
    args: [('draft', 'New'), ('open', 'Running'), ('pending', 'To Renew'), ('close', 'Expired')]
  • valid_from Date
    help='Validation period stating date.' string='Valid from'
  • valid_until Date
    help='Expiration date. For example, date when person needs to renew his driver license, 21/10/2019' string='Valid until'
Public methods (1)
  • validate_id_number(self)
    @api.constrains('name', 'category_id')
REPOSITORY
REPOSITORYOCA/partner-contact
GIT
GIThttps://github.com/OCA/partner-contact.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/partner-contact/tree/7.0/partner_identification
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, ChriCar Beteiligungs- und Beratungs- GmbH
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp, ACSONE SA/NV, LasLabs, ChriCar Beteiligungs- und Beratungs- GmbH
COMMITTERS
COMMITTERSRonald Portier
WEBSITE
WEBSITEhttps://odoo-community.org/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Manage partner identifications.

    This includes searching partners on identification, and also a
    framework for adding identification fields for specific types of
    identification (passpost, drivers license, chamber of commerce id...),
    with common methods to maintain those fields.
    

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_partner_form res.partner.form.id_number res.partner xpath Inherits base.view_partner_form
view_partner_id_category_form res.partner.id_category.form res.partner.id_category form New
view_partner_id_category_tree res.partner.id_category.tree res.partner.id_category tree New
view_partner_id_numbers_form res.partner.id_number.form res.partner.id_number form New
view_partner_id_numbers_tree res.partner.id_number.tree res.partner.id_number tree New
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • default_get(self, cr, uid, fields, context=None)
  • validate_id_number(self, id_number, context=None)
    Validate the given ID number. The method raises an openerp.exceptions.ValidationError if the eval of python validation code fails.

New fields (0)

No new fields.

Public methods (0)

No public methods.