Repository
OCA/l10n-thailand · module folder · Try on Runboat
Module version
2.0.1
Category
Localization/Asia
Folder size
0.13 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-thailand
Last tracking update
2026-08-07 08:43:05
Authors
Odoo Community Association (OCA), Ecosoft
Maintainers
Odoo Community Association (OCA), Ecosoft
Committers
Saran440, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
OCA/partner-contact:
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
l10n_th_account_tax_report
Description
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.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form res.config.settings form Inherits partner_firstname.res_config_settings_view_form
res_partner_company_type_form_view Add Prefix and Suffix on partner_company_type_form res.partner.company.type form Inherits partner_company_type.res_partner_company_type_form_view
view_company_form res.company form Inherits base.view_company_form
view_partner_form res.partner form Inherits partner_firstname.view_partner_form
view_res_partner_filter res.partner.select res.partner Inherits base.view_res_partner_filter
view_users_form Add title res.users form Inherits partner_firstname.view_users_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (2)
  • company_registry Char
    copy=False string='Branch'
  • no_space_title_name Boolean
    help='If checked, title and name will no space' string='No Space Title and Name'
Public methods (1)
  • write(self, vals)
    Automation update name when you config no_space_title_name

New fields (1)
  • no_space_title_name Boolean
    readonly=False related='company_id.no_space_title_name'
Public methods (0)

No public methods.

New fields (2)
  • company_registry Char
    copy=False string='Branch'
  • name_company Char
    index=True
Public methods (0)

No public methods.

New fields (3)
  • prefix Char
  • suffix Char
  • use_prefix_suffix Boolean
    default=True help='Select this field for compute partner name with prefix or suffix.'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
191 days ago
Last activity
7 days ago
Repository
OCA/l10n-thailand
Pull request
[19.0][MIG] l10n_th_partner: Migration to 19.0 (#575)