Thai Localization - Tier Department Level

l10n_th_tier_department
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_tier_department
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYLocalization / Tools
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, Pani-k-folk
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - base_tier_validation_formula
    - base_tier_validation
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - hr
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - phone_validation
    - resource_mail
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds an additional level of hierarchical validation in the
department for approvals when there are more than one.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
tier_validation_buttons tier_validation_buttons ir.ui.view qweb Inherits base_tier_validation.tier_validation_buttons
view_department_form hr.department.form hr.department xpath Inherits hr.view_department_form
view_tier_level_form tier.level.form tier.level form New
view_tier_level_list tier.level.list tier.level list New
Models touched (2)

New fields (1)
  • tier_level_ids One2many → tier.level
    comodel_name='tier.level' inverse_name='department_id' string='Approval Level'
Public methods (1)
  • find_reviewer_level(self, level=0)

New fields (6)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> help='Company related to this tier level' index=True readonly=True required=True
  • department_id Many2one → hr.department
    comodel_name='hr.department'
  • level Integer
    compute='_compute_level'
  • name Char
    string='Description'
  • sequence Integer
    default=10
  • user_id Many2one → res.users
    comodel_name='res.users' required=True string='Approver'
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_tier_department
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalization / Tools
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, saran
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - base_tier_validation_formula
    - base_tier_validation
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - hr
    - phone_validation
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds an additional level of hierarchical validation in the
department for approvals when there are more than one.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
tier_validation_buttons tier_validation_buttons ir.ui.view qweb Inherits base_tier_validation.tier_validation_buttons
view_department_form hr.department.form hr.department xpath Inherits hr.view_department_form
view_tier_level_form tier.level.form tier.level form New
view_tier_level_tree tier.level.tree tier.level tree New
Models touched (2)

New fields (1)
  • tier_level_ids One2many → tier.level
    comodel_name='tier.level' inverse_name='department_id' string='Approval Level'
Public methods (1)
  • find_reviewer_level(self, level=0)

New fields (6)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> help='Company related to this journal' index=True readonly=True required=True string='Company'
  • department_id Many2one → hr.department
    comodel_name='hr.department' string='Department'
  • level Integer
    compute='_compute_level'
  • name Char
    string='Description'
  • sequence Integer
    default=10
  • user_id Many2one → res.users
    comodel_name='res.users' required=True string='Approver'
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_tier_department
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalization / Tools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSoca-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/server-ux:
    - base_tier_validation_formula
    - base_tier_validation
odoo/odoo:
    - mail
    - base
    - 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 (4)
XML IDNameModelTypeStatus
tier_validation_buttons tier_validation_buttons ir.ui.view qweb Inherits base_tier_validation.tier_validation_buttons
view_department_form hr.department.form hr.department xpath Inherits hr.view_department_form
view_tier_level_form tier.level.form tier.level form New
view_tier_level_tree tier.level.tree tier.level tree New
Models touched (2)

New fields (1)
  • tier_level_ids One2many → tier.level
    comodel_name='tier.level' inverse_name='department_id' string='Approval Level'
Public methods (1)
  • find_reviewer_level(self, level=0)

New fields (6)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> help='Company related to this journal' index=True readonly=True required=True string='Company'
  • department_id Many2one → hr.department
    comodel_name='hr.department' string='Department'
  • level Integer
    compute='_compute_level'
  • name Char
    string='Description'
  • sequence Integer
    default=10
  • user_id Many2one → res.users
    comodel_name='res.users' required=True string='Approver'
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_tier_department
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalization / Tools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSoca-ci, Saran440
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:35
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - base_tier_validation_formula
    - base_tier_validation
odoo/odoo:
    - mail
    - base
    - 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 (4)
XML IDNameModelTypeStatus
tier_validation_buttons tier_validation_buttons ir.ui.view qweb Inherits base_tier_validation.tier_validation_buttons
view_department_form hr.department.form hr.department xpath Inherits hr.view_department_form
view_tier_level_form tier.level.form tier.level form New
view_tier_level_tree tier.level.tree tier.level tree New
Models touched (2)

New fields (1)
  • tier_level_ids One2many → tier.level
    comodel_name='tier.level' inverse_name='department_id' string='Approval Level'
Public methods (1)
  • find_reviewer_level(self, level=0)

New fields (6)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> help='Company related to this journal' index=True readonly=True required=True string='Company'
  • department_id Many2one → hr.department
    comodel_name='hr.department' string='Department'
  • level Integer
    compute='_compute_level'
  • name Char
    string='Description'
  • sequence Integer
    default=10
  • user_id Many2one → res.users
    comodel_name='res.users' required=True string='Approver'
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_tier_department: Migration to 19.0 (#580)