Repository
OCA/partner-contact · module folder · Try on Runboat
Module version
1.1.0
Category
Customer Relationship Management
Folder size
1.51 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/partner-contact
Last tracking update
2026-08-07 09:06:26
Authors
Camptocamp, ACSONE SA/NV, Odoo Community Association (OCA), Onestein, ChriCar Beteiligungs- und Beratungs- GmbH, Tecnativa, LasLabs
Maintainers
Camptocamp, ACSONE SA/NV, Odoo Community Association (OCA), Onestein, ChriCar Beteiligungs- und Beratungs- GmbH, Tecnativa, LasLabs
Committers
Weblate, OCA-git-bot, oca-ci, bosd, Fernando, Frédéric GRALL
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
partner_identification_eori, partner_identification_gln, partner_identification_import
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 form 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
HTTP endpoints (0)

No HTTP endpoints found for this module.

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

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…