Repository
OCA/l10n-thailand · module folder · Try on Runboat
Module version
1.0.1
Category
Localisation/Asia
Folder size
1.29 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-thailand
Last tracking update
2026-08-07 08:09:30
Authors
Odoo Community Association (OCA), Ecosoft
Maintainers
Odoo Community Association (OCA), Ecosoft
Committers
Saran440, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_th_tax_address
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
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_thailand Boolean
    compute='_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_language Selection
    default='th' string='Language of Thailand' args: [('th', 'Thai'), ('en', 'English')]
Public methods (2)
  • get_and_parse_csv(self, country)
    @api.model
  • prepare_zip(self, row, city_id)
    @api.model
    Add district_code and sub_district_code into vals

New fields (2)
  • district_code Char
    help='This field is Amphoe (District) code in Thailand'
  • sub_district_code Char
    help='This field is Tambon (Sub-District) code in Thailand' string='Sub-District Code'
Public methods (0)

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…