Skip to content
Security findings
Grave / minor (static analysis)
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
Migration notes
0
Review checklist items
Code footprint
1 models · 0 views
0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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