Repository
OCA/l10n-colombia · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-colombia
Last tracking update
2026-07-11 20:10:34
Authors
Odoo Community Association (OCA), Juan Arcos
Maintainers
Odoo Community Association (OCA), Juan Arcos
Committers
oca-ci, Juan Arcos
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends the functionality of the VAT validation in Odoo to support Colombian tax identification numbers (NIT and Cédula).

By default, Odoo does not include a validator for Colombian VAT numbers, which causes constraint errors when saving partners with a Colombian country set. This module adds a `check_vat_co` method that Odoo automatically picks up during its standard validation flow, accepting any numeric identifier between 3 and 11 digits.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • check_vat_co(self, vat)
    Validate Colombian VAT (NIT / Cédula). Accepts 3-11 digits (ignoring spaces, dots, hyphens, etc.).