Repository
OCA/partner-contact · module folder · Try on Runboat
Module version
1.0.0
Category
Customer Relationship Management
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/partner-contact
Last tracking update
2026-08-07 08:42:56
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Weblate, OCA-git-bot, oca-ci, chaule97
Odoo dependencies
OCA/partner-contact:
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
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 form Inherits partner_identification.view_partner_id_category_form
view_partner_id_category_tree res.partner.id_category.list res.partner.id_category list Inherits partner_identification.view_partner_id_category_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

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

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
10 days ago
Last activity
6 days ago
Repository
OCA/partner-contact
Pull request
[19.0][MIG] partner_identification_unique_by_category: Migration to 19.0 (#2419)