Thai Localization - Base Location
l10n_th_base_location · OCA/l10n-thailand
Health
77/100
good
-
Security25/25No findings
-
Activity12/25Last human commit 21 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
1.29 MB
Module directory on disk
Code analysis
2 migration notes
5 models
2 views
0 HTTP endpoints
Migration considerations
CountryState— Migrating to 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · sourcecity_zip_geonames_import_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
city_zip_geonames_import_form |
Import from Geonames form view | city.zip.geonames.import | form | Inherits base_location_geonames_import.city_zip_geonames_import_form |
city_zip_tree |
res.city.zip | tree | Inherits base_location.city_zip_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (2)
-
is_thailandBooleancompute='_compute_is_thailand'help="For Thailand only, data is from TH_th.txt and TH_en.txt stored in the module's data folder. To get data from Geonames.org, please uninstall l10n_th_base_location." -
location_thailand_languageSelectiondefault='th'string='Language of Thailand' args: [('th', 'Thai'), ('en', 'English')]
-
get_and_parse_csv(self, country)@api.model -
prepare_zip(self, row, city_id)@api.modelAdd district_code and sub_district_code into vals
New fields (2)
-
district_codeCharhelp='This field is Amphoe (District) code in Thailand' -
sub_district_codeCharhelp='This field is Tambon (Sub-District) code in Thailand'string='Sub-District Code'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
name_get(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…