This module adds the language choices for import cities and/or city zip entries of Thailand.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Adds Thai district and sub-district codes to city zip records and lets you import Thai location data in Thai or English, with automatic address filling for Thai contacts and companies.
This module adapts Odoo's location data for Thailand. It adds two extra fields to city zip records: a district code (Amphoe) and a sub-district code (Tambon). These appear as columns in the list of city zip entries.
When importing location data from Geonames, a new option appears on the import form: a language choice for Thailand (Thai or English). This choice is only shown when Thailand is among the selected countries. The import then uses the module's own Thai data files instead of the online Geonames source, and it also fills in the district and sub-district codes for each zip entry.
For Thai addresses, the module changes how city and street information is filled in. When you pick a zip code on a contact or company, Odoo automatically splits the stored city name and puts the first part into the second address line and the second part into the city field. This happens both for contacts and for companies.
It also adjusts how Thai province names are displayed: for Thailand, the province name is shown without the country prefix. During the import, existing Thai provinces are updated with the names from the chosen language file.
Depends on
Required by other modules
Models and fields (5)
- res.company · extends an existing model
- res.partner · extends an existing model
- res.city.zip · extends an existing modeldistrict_code, sub_district_code (Sub-District Code)
- res.country.state · extends an existing model
- city.zip.geonames.import · extends an existing modelis_thailand, location_thailand_language (Language of Thailand)
Text generated by AI (DeepSeek) from reading the Odoo 16.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: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/l10n-thailand.
terminal Installation and usage
OCA documentation · Odoo 16.0Installation
Source · Odoo 16.0To install this module, you need the Python library 'requests':
pip install requestsUsage
Source · Odoo 16.0Go to Contacts > Configuration > Localization > Import from Geonames, and click on it to open a wizard.
When you start the wizard, it will ask you to select a country.
If you select Thailand, you can choose a language of data imports.
No verified information in OCA: Configuration.
Installation 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.