Repository
OCA/l10n-thailand · module folder · Try on Runboat
Module version
0.1.0
Category
Hidden
Folder size
0.68 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://ecosoft.co.th
Last tracking update
2026-08-07 07:17:52
Authors
Odoo Community Association (OCA), Ecosoft
Maintainers
Odoo Community Association (OCA), Ecosoft
Committers
GitHub, Daniel Reis, Kitti U
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
view_partner_form view.partner.form res.partner form Inherits base.view_partner_form
view_res_country_district_form res.country.district.form res.country.district form New
view_res_country_district_tree res.country.district.tree res.country.district tree New
view_res_country_province_form res.country.province.form res.country.province form New
view_res_country_province_tree res.country.province.tree res.country.province tree New
view_res_country_township_filter view.res.country.township.filter res.country.township search New
view_res_country_township_form res.country.township.form res.country.township form New
view_res_country_township_tree res.country.township.tree res.country.township tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (2)
  • name Char
    required=True string='District'
  • province_id Many2one → res.country.province
    required=True string='Province' args: 'res.country.province'
Public methods (0)

No public methods.

New fields (2)
  • country_id Many2one → res.country
    required=True string='Country' args: 'res.country'
  • name Char
    required=True string='Province'
Public methods (0)

No public methods.

New fields (5)
  • country_id Many2one → res.country
    readonly=True related='district_id.province_id.country_id' store=True string='Country' args: 'res.country'
  • district_id Many2one → res.country.district
    required=True string='District' args: 'res.country.district'
  • name Char
    required=True string='Township'
  • province_id Many2one → res.country.province
    readonly=True related='district_id.province_id' store=True string='Province' args: 'res.country.province'
  • zip Char
    string='Zip'
Public methods (0)

No public methods.

New fields (3)
  • district_id Many2one → res.country.district
    domain="[('province_id','=',province_id)]" ondelete='restrict' args: 'res.country.district'
  • province_id Many2one → res.country.province
    domain="[('country_id','=',country_id)]" ondelete='restrict' args: 'res.country.province'
  • township_id Many2one → res.country.township
    domain="[('district_id','=',district_id)]" ondelete='restrict' args: 'res.country.township'
Public methods (0)

No public methods.