Thai Localization - Partner

l10n_th_partner
REPOSITORY
REPOSITORYOCA/l10n-thailand
GIT
GIThttps://github.com/OCA/l10n-thailand.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-thailand/tree/18.0/l10n_th_partner
VERSION
VERSION 2.0.1
CATEGORY
CATEGORYLocalization/Asia
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Saran440
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_company_type
    - partner_firstname
odoo/odoo:
    - base
    - contacts
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath 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 xpath Inherits partner_company_type.res_partner_company_type_form_view
view_company_form res.company xpath Inherits base.view_company_form
view_partner_form res.partner xpath Inherits partner_firstname.view_partner_form
view_res_partner_filter res.partner.select res.partner xpath Inherits base.view_res_partner_filter
view_users_form Add title res.users xpath Inherits partner_firstname.view_users_form
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.

REPOSITORY
REPOSITORYOCA/l10n-thailand
GIT
GIThttps://github.com/OCA/l10n-thailand.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-thailand/tree/17.0/l10n_th_partner
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalization/Asia
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Saran440
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_company_type
    - partner_firstname
odoo/odoo:
    - base
    - contacts
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath 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 xpath Inherits partner_company_type.res_partner_company_type_form_view
view_company_form res.company field Inherits base.view_company_form
view_partner_form res.partner xpath Inherits partner_firstname.view_partner_form
view_res_partner_filter res.partner.select res.partner xpath Inherits base.view_res_partner_filter
view_users_form Add title res.users xpath Inherits partner_firstname.view_users_form
Models touched (4)

New fields (2)
  • branch Char
    readonly=False related='partner_id.branch' string='Tax 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)
  • branch Char
    copy=False help='Branch ID, e.g., 0000, 0001, ...' string='Tax 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.

REPOSITORY
REPOSITORYOCA/l10n-thailand
GIT
GIThttps://github.com/OCA/l10n-thailand.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-thailand/tree/16.0/l10n_th_partner
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYLocalization/Asia
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Saran440
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:49
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_company_type
    - partner_firstname
odoo/odoo:
    - base
    - contacts
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - hr
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form res.config.settings xpath 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 xpath Inherits partner_company_type.res_partner_company_type_form_view
view_company_form res.company field Inherits base.view_company_form
view_partner_form res.partner xpath Inherits partner_firstname.view_partner_form
view_res_partner_filter res.partner.select res.partner xpath Inherits base.view_res_partner_filter
view_users_form Add title res.users xpath Inherits partner_firstname.view_users_form
Models touched (6)

New fields (1)
  • name Char
    translate=True
Public methods (0)

No public methods.

New fields (2)
  • branch Char
    readonly=False related='partner_id.branch' string='Tax 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 (6)
  • branch Char
    copy=False help='Branch ID, e.g., 0000, 0001, ...' string='Tax Branch'
  • display_name Char
    translate=True
  • firstname Char
    translate=True
  • lastname Char
    translate=True
  • name Char
    translate=True
  • name_company Char
    index=True translate=True
Public methods (0)

No public methods.

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

No public methods.

New fields (1)
  • name Char
    translate=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-thailand
GIT
GIThttps://github.com/OCA/l10n-thailand.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-thailand/tree/15.0/l10n_th_partner
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYLocalization/Asia
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Saran440, ps-tubtim
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:35
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_company_type
    - partner_firstname
odoo/odoo:
    - base
    - contacts
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - hr
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form res.config.settings xpath 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 xpath Inherits partner_company_type.res_partner_company_type_form_view
view_company_form res.company field Inherits base.view_company_form
view_partner_form res.partner xpath Inherits partner_firstname.view_partner_form
view_res_partner_filter res.partner.select res.partner xpath Inherits base.view_res_partner_filter
view_users_form Add title res.users xpath Inherits partner_firstname.view_users_form
Models touched (7)

New fields (1)
  • name Char
    translate=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (2)
  • branch Char
    readonly=False related='partner_id.branch' string='Tax 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 (6)
  • branch Char
    copy=False help='Branch ID, e.g., 0000, 0001, ...' string='Tax Branch'
  • display_name Char
    translate=True
  • firstname Char
    translate=True
  • lastname Char
    translate=True
  • name Char
    translate=True
  • name_company Char
    index=True translate=True
Public methods (1)
  • create(self, vals)
    @api.model
    Add inverted company names at creation if unavailable.

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

No public methods.

New fields (1)
  • name Char
    translate=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-thailand
GIT
GIThttps://github.com/OCA/l10n-thailand.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-thailand/tree/14.0/l10n_th_partner
VERSION
VERSION 2.2.0
CATEGORY
CATEGORYLocalization/Asia
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSGitHub, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Kitti U, Saran440, oca-git-bot, Tharathip
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_company_type
    - partner_firstname
odoo/odoo:
    - base
    - contacts
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - hr
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form res.config.settings xpath 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 xpath Inherits partner_company_type.res_partner_company_type_form_view
view_company_form res.company field Inherits base.view_company_form
view_partner_form res.partner field Inherits base.view_partner_form
view_partner_form_firstname res.partner field Inherits partner_firstname.view_partner_form_firstname
view_res_partner_filter res.partner.select res.partner xpath Inherits base.view_res_partner_filter
view_users_form Add title res.users xpath Inherits partner_firstname.view_users_form
Models touched (7)

New fields (1)
  • name Char
    translate=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

New fields (2)
  • branch Char
    readonly=False related='partner_id.branch' string='Tax 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 (6)
  • branch Char
    copy=False help='Branch ID, e.g., 0000, 0001, ...' string='Tax Branch'
  • display_name Char
    translate=True
  • firstname Char
    translate=True
  • lastname Char
    translate=True
  • name Char
    translate=True
  • name_company Char
    index=True inverse='_inverse_name_company' string='Name Company' translate=True
Public methods (1)
  • create(self, vals)
    @api.model
    Add inverted company names at creation if unavailable.

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

No public methods.

New fields (1)
  • name Char
    translate=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-thailand
GIT
GIThttps://github.com/OCA/l10n-thailand.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-thailand/tree/13.0/l10n_th_partner
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYLocalisation/Asia
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, OCA-git-bot, Kitti U, Saran440, kittiu, ps-tubtim, Poonlap V, Poonlap Veerathanabutr
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/partner-contact:
    - partner_company_type
    - partner_firstname
odoo/odoo:
    - base
    - contacts
    - mail
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
res_partner_company_type_form_view Add Prefix and Suffix on partner_company_type_form res.partner.company.type xpath Inherits partner_company_type.res_partner_company_type_form_view
view_company_form res.company field Inherits base.view_company_form
view_partner_form res.partner field Inherits base.view_partner_form
view_partner_form_firstname res.partner field Inherits partner_firstname.view_partner_form_firstname
view_res_partner_filter res.partner.select res.partner xpath Inherits base.view_res_partner_filter
view_users_form Add title res.users xpath Inherits partner_firstname.view_users_form
Models touched (4)

New fields (1)
  • branch Char
    readonly=False related='partner_id.branch' string='Tax Branch'
Public methods (0)

No public methods.

New fields (2)
  • branch Char
    help='Branch ID, e.g., 0000, 0001, ...' string='Tax Branch'
  • name_company Char
    index=True inverse='_inverse_name_company' string='Name Company'
Public methods (1)
  • create(self, vals)
    @api.model
    Add inverted company names at creation if unavailable.

New fields (2)
  • prefix Char
    string='Prefix' translate=True
  • suffix Char
    string='Suffix' translate=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-thailand
GIT
GIThttps://github.com/OCA/l10n-thailand.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-thailand/tree/12.0/l10n_th_partner
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalisation/Asia
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSoca-travis, OCA-git-bot, Kitti U
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_partner_form res.partner field Inherits base.view_partner_form
Models touched (1)

New fields (1)
  • branch Char
    help='Branch ID, e.g., 0000, 0001, ...' size=5 string='Branch'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/l10n-thailand
PULL REQUEST
PULL REQUEST[19.0][MIG] l10n_th_partner: Migration to 19.0 (#575)