Skip to Content

l10n_pk_cnic_validation

by

22.95

17.0 0
Live Preview
Required Apps Contacts (contacts)
Discuss (mail)
Technical Name l10n_pk_cnic_validation
License OPL-1
Also available in version 19.0 18.0 17.0
You bought this module and need support ? Click here!
Technical Name l10n_pk_cnic_validation
License OPL-1
Also available in version v 17.0 v 18.0 v 19.0

Pakistan CNIC Validation & Auto-Formatting for Odoo

Enterprise-grade CNIC validation module designed specifically for Pakistani Odoo deployments. Ensure compliant identity records, prevent duplicate CNIC entries, and maintain clean contact data across CRM, Sales, Accounting, and all business operations.


✔ Key Features

  • CNIC pattern validation (xxxxx-xxxxxxx-x)
  • Auto-format CNIC from 13-digit input
  • Real-time validation on Create & Write
  • SQL-level duplicate protection (fast & production-safe)
  • Integrated with Contacts (res.partner)
  • Company Settings toggle to enable/disable validation
  • Clear, professional error messages
  • Tested on Odoo 17, 18 & 19
  • Migration-ready architecture

Why This Module?

CNIC is a critical identity field in Pakistani business environments. Poor validation leads to duplicate partners, incorrect invoices, reporting inconsistencies, and operational errors.

This module ensures:

  • Standardized CNIC formatting across the system
  • Data integrity protection at database level
  • Reduced manual data cleanup
  • Enterprise-ready compliance control

Technical Highlights

  • Optimized SQL constraints for performance
  • ORM-level safeguards for consistency
  • Clean modular Odoo architecture
  • Designed for production deployments

Screenshots


Compatibility

✔ Odoo 17
✔ Odoo 18
✔ Odoo 19
✔ Community & Enterprise


Support & Maintenance

Maintained by NexERP Labs , specialists in Pakistan localization and compliance solutions for Odoo.

For support inquiries or customization requests, please contact us via Odoo Apps messaging.

Odoo Proprietary License v1.0
This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.