Partner Identification Numbers Unique By Category

partner_identification_unique_by_category
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_unique_by_category
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, chaule97
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_identification
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 extends the module partner_identification to enforce having
unique id numbers by categories. This option can be set by category.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_partner_id_category_form res.partner.id_category.form res.partner.id_category field Inherits partner_identification.view_partner_id_category_form
view_partner_id_category_tree res.partner.id_category.list res.partner.id_category field Inherits partner_identification.view_partner_id_category_tree
Models touched (2)

New fields (1)
  • has_unique_numbers Boolean
    help='When set, duplicate numbers will not be allowed for this category.' string='Enforce unicity'
Public methods (1)
  • validate_must_be_unique(self)
    @api.constrains('has_unique_numbers')

New fields (0)

No new fields.

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/14.0/partner_identification_unique_by_category
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp SA
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp SA
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, braisab
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_identification
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 (2)
XML IDNameModelTypeStatus
view_partner_id_category_form res.partner.id_category.form res.partner.id_category field Inherits partner_identification.view_partner_id_category_form
view_partner_id_category_tree res.partner.id_category.tree res.partner.id_category field Inherits partner_identification.view_partner_id_category_tree
Models touched (2)

New fields (1)
  • has_unique_numbers Boolean
    help='When set, duplicate numbers will not be allowed for this category.' string='Enforce unicity'
Public methods (1)
  • validate_must_be_unique(self)
    @api.constrains('has_unique_numbers')

New fields (0)

No new fields.

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/13.0/partner_identification_unique_by_category
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYCustomer Relationship Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp SA
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp SA
COMMITTERS
COMMITTERSThierry Ducrest, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/partner-contact
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_identification
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 (2)
XML IDNameModelTypeStatus
view_partner_id_category_form res.partner.id_category.form res.partner.id_category field Inherits partner_identification.view_partner_id_category_form
view_partner_id_category_tree res.partner.id_category.tree res.partner.id_category field Inherits partner_identification.view_partner_id_category_tree
Models touched (2)

New fields (1)
  • has_unique_numbers Boolean
    help='When set, duplicate numbers will not be allowed for this category.' string='Enforce unicity'
Public methods (1)
  • validate_must_be_unique(self)
    @api.constrains('has_unique_numbers')

New fields (0)

No new fields.

Public methods (1)
  • validate_id_number(self)
    @api.constrains('name', 'category_id')