Thai Localization - Withholding Tax

l10n_th_withholding_tax
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_withholding_tax
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYLocalization / Accounting
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, ps-tubtim, oca-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
product_template_form_view product.template.form.inherit product.template xpath Inherits product.product_template_form_view
view_account_form view.account.form account.account field Inherits account.view_account_form
view_account_payment_register_form account.payment.register.form account.payment.register field Inherits account.view_account_payment_register_form
view_account_withholding_tax_form view.account.withholding.tax.form account.withholding.tax form New
view_account_withholding_tax_tree view.account.withholding.tax.tree account.withholding.tax tree New
view_move_form account.move.form account.move xpath Inherits account.view_move_form
Models touched (6)

New fields (1)
  • wt_account Boolean
    default=False help='If check, this account is for withholding tax' string='WT Account'
Public methods (0)

No public methods.

New fields (1)
  • wt_tax_id Many2one → account.withholding.tax
    comodel_name='account.withholding.tax' compute='_compute_wt_tax_id' readonly=False store=True string='WT'
Public methods (0)

No public methods.

New fields (1)
  • wt_tax_id Many2one → account.withholding.tax
    comodel_name='account.withholding.tax' help='Optional hidden field to keep wt_tax. Useful for case 1 tax only' string='Withholding Tax'
Public methods (0)

No public methods.

New fields (2)
  • wt_amount_base Monetary
    help='Based amount for the tax amount' string='Withholding Base'
  • wt_tax_id Many2one → account.withholding.tax
    comodel_name='account.withholding.tax' help='Optional hidden field to keep wt_tax. Useful for case 1 tax only' string='Withholding Tax'
Public methods (1)
  • default_get(self, fields_list)
    @api.model

New fields (3)
  • account_id Many2one → account.account
    comodel_name='account.account' domain=[('wt_account', '=', True)] ondelete='restrict' required=True string='Withholding Tax Account'
  • amount Float
    string='Amount'
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (2)
  • supplier_wt_tax_id Many2one → account.withholding.tax
    comodel_name='account.withholding.tax'
  • wt_tax_id Many2one → account.withholding.tax
    comodel_name='account.withholding.tax'
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_withholding_tax
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYLocalization / Accounting
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, Saran440
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
product_template_form_view product.template.form.inherit product.template xpath Inherits product.product_template_form_view
view_account_form view.account.form account.account data Inherits account.view_account_form
view_account_payment_form view.account.payment.form account.payment field Inherits account.view_account_payment_form
view_account_withholding_tax_form view.account.withholding.tax.form account.withholding.tax form New
view_account_withholding_tax_tree view.account.withholding.tax.tree account.withholding.tax tree New
view_move_form account.move.form account.move xpath Inherits account.view_move_form
Models touched (5)

New fields (1)
  • wt_account Boolean
    default=False help='If check, this account is for withholding tax' string='WT Account'
Public methods (0)

No public methods.

New fields (1)
  • wt_tax_id Many2one → account.withholding.tax
    comodel_name='account.withholding.tax' compute='_compute_wt_tax_id' readonly=False store=True string='WT'
Public methods (0)

No public methods.

New fields (1)
  • wt_tax_id Many2one → account.withholding.tax
    comodel_name='account.withholding.tax' help='Optional hidden field to keep wt_tax. Useful for case 1 tax only' string='Withholding Tax'
Public methods (0)

No public methods.

New fields (3)
  • account_id Many2one → account.account
    comodel_name='account.account' domain=[('wt_account', '=', True)] ondelete='restrict' required=True string='Withholding Tax Account'
  • amount Float
    string='Amount'
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (2)
  • supplier_wt_tax_id Many2one → account.withholding.tax
    comodel_name='account.withholding.tax'
  • wt_tax_id Many2one → account.withholding.tax
    comodel_name='account.withholding.tax'
Public methods (0)

No public methods.