Partner Identification Numbers Unique By Category
partner_identification_unique_by_category · OCA/partner-contact
Health
54/100
fair
-
Security25/25No findings
-
Activity6/25Last human commit 26 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
0 migration notes
2 models
2 views
0 HTTP endpoints
Description
This module extends the module partner_identification to enforce having unique id numbers by categories. This option can be set by category.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_numbersBooleanhelp='When set, duplicate numbers will not be allowed for this category.'string='Enforce unicity'
-
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…
Loading…