OdooWiki OCA HUB

Thai Localization - Partner

l10n_th_partner folder_open OCA/l10n-thailand open_in_new
Localization/Asia License: AGPL-3

This module adds branch management to res.company and res.partner.

It also enhances name computation for res.users and res.partner based on the entity type:

  • Individual: Computes the name using Title, First Name, and Last Name.
  • Company: Computes the name based on the Legal Form.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds Thai-specific contact and company name handling: legal form prefixes/suffixes, branch numbers, Thai titles, and an option to remove the space between title and name.

This module adapts Odoo contacts and companies for Thai business practices. It adds a "Branch" field (company_registry) on both companies and contacts, with a placeholder like "Branch, e.g., 00000".

For companies, you can define a "Legal Form" (for example, Company Limited, Public Company Limited, Partnership) with a prefix and suffix. When you enter the company name in the new name_company field, Odoo automatically builds the full name by placing the prefix before and the suffix after the company name. A checkbox on each legal form lets you turn this prefix/suffix behaviour on or off.

For individuals, the module loads a long list of Thai titles (military, police, royal, etc.). A setting in Configuration lets you choose whether a space is kept between the title and the name (e.g. "Miss Firstname Lastname") or removed (e.g. "MissFirstname Lastname"). Changing this setting updates existing contacts automatically.

It also prevents duplicate contacts: if two contacts share the same Tax ID and the same Branch number, Odoo raises an error. In the Contacts list, you can group contacts by Legal Form. The contact form is reorganised so that first name and last name appear in the expected order, and the name field becomes read-only because it is computed.

Models and fields (4)
  • res.company · extends an existing modelcompany_registry (Branch), no_space_title_name (No Space Title and Name)
  • res.partner · extends an existing modelname_company, company_registry (Branch)
  • res.config.settings · extends an existing modelno_space_title_name
  • res.partner.company.type · extends an existing modelprefix, suffix, use_prefix_suffix

Text generated by AI (DeepSeek) from reading the Odoo 18.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/l10n-thailand.

terminal Installation and usage

No verified information

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.

info

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.