OdooWiki OCA HUB

Base VAT Sanitized

base_vat_sanitized folder_open OCA/partner-contact open_in_new
Hidden/Dependency License: AGPL-3

THIS MODULE WAS PORTED TO ODOO 13.0 BY MISTAKE: DON'T INSTALL IT. The feature is now native in Odoo 13.0 (it is implemented in the base_vat module).

This module adds a technical field sanitized_vat on partners that stores the VAT number without spaces and with letters in uppercase. It is useful for other modules that need to match partners on VAT number, such as the base_business_document_import module for example.

auto_awesome What this module does

AI-generated from the code · Odoo 13.0

Adds a read-only "Sanitized TIN" field on contacts that stores the VAT number in uppercase and without spaces or special characters. It is a technical helper for other modules that need to compare partners by VAT number.

This module extends the contact form (res.partner) with one extra field called "Sanitized TIN". It does not add any menu, button or report of its own.

The field is calculated automatically from the VAT number already stored on the contact: all spaces and special characters are removed and all letters are converted to uppercase. For example, a VAT written as "be 0123.456.789" is stored as "BE0123456789". The value is saved in the database and is read-only, so users cannot type in it directly; it simply follows whatever is entered in the standard VAT field.

Because the value is stored, other modules can search and match contacts reliably on this cleaned-up VAT number, even when the original VAT was typed with different spacing, dots or letter case. The module depends on base_vat, which provides the standard VAT validation and field on contacts.

Note: the module description states it was ported to Odoo 13.0 by mistake and should not be installed, because this feature is already included natively in Odoo 13.0 inside the base_vat module.

Depends on

base_vat
Models and fields (1)
  • res.partner · extends an existing modelsanitized_vat (Sanitized TIN)

Text generated by AI (DeepSeek) from reading the Odoo 13.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/partner-contact.

terminal Installation and usage

OCA documentation · Odoo 13.0

This module doesn't bring any visible feature for the users.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.