Thai Localization - Employee Identification No Validation
This module added validation for Identification No of Employee who is a citizen of Thailand.
Validation only occurs when Employee's Nationality is Thailand and Identification No is present.
- Auto remove non-digit characters
- Must be digits with 13 lengths
- Verify checksum at last digit
Reference: เลขประจำตัวประชาชนไทย
auto_awesome What this module does
AI-generated from the code · Odoo 13.0Adds validation for Thai employee identification numbers in Odoo. When an employee's nationality is Thailand, the ID number is automatically cleaned and checked to be a valid 13-digit Thai citizen ID.
This module extends the employee form in Odoo to enforce rules for Thai citizen identification numbers. It only applies when the employee's country is set to Thailand and an identification number is entered.
- When you type or change the identification number, any non-digit characters (like spaces or dashes) are automatically removed.
- When you save the employee record, Odoo checks that the number is exactly 13 digits long and contains only digits. If not, it shows an error: "Identification No of Thai citizen must be 13 digits".
- It also verifies the last digit using the official Thai ID checksum formula. If the checksum is wrong, it shows: "Invalid Thai Identification Id".
These checks happen on the hr.employee model, so they affect any employee record where the country is Thailand. The module does not add new menus or screens; it only adds validation to the existing employee form.
Depends on
Models and fields (1)
- hr.employee · extends an existing model
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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 13.0
Confirmed on 2026-11-03 in branch 13.0 of OCA/l10n-thailand.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.