Thailand Localization - Withholding Tax Report

l10n_th_withholding_tax_report
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_report
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ecosoft
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ecosoft
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, Saran440
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-thailand:
    - l10n_th_partner
    - l10n_th_withholding_tax_cert
    - l10n_th_withholding_tax
OCA/partner-contact:
    - partner_company_type
    - partner_firstname
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - contacts
    - hr
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
footer_report_withholding_tax footer_report_withholding_tax ir.ui.view qweb New
header_report_withholding_tax header_report_withholding_tax ir.ui.view qweb New
l10n_th_withholding_tax_report.internal_layout l10n_th_withholding_tax_report.internal_layout ir.ui.view qweb New
l10n_th_withholding_tax_report.report_buttons l10n_th_withholding_tax_report.report_buttons ir.ui.view qweb New
report_withholding_tax report_withholding_tax ir.ui.view qweb New
report_withholding_tax_html report_withholding_tax_html ir.ui.view qweb New
report_withholding_tax_qweb report_withholding_tax_qweb ir.ui.view qweb New
report_withholding_tax_text report_withholding_tax_text ir.ui.view qweb New
view_withholding_tax_report_wizard withholding.tax.report.wizard.view withholding.tax.report.wizard form New
withholding_tax_report_assets_backend withholding_tax_report assets ir.ui.view qweb Inherits web.assets_backend
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • render_qweb_text(self, docids, data=None)
    @api.model
    Delete space

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • company_id Many2one → res.company
    comodel_name='res.company' ondelete='cascade' required=True string='Company'
  • date_from Date
  • date_range_id Many2one → date.range
    comodel_name='date.range' required=True string='Date range'
  • date_to Date
  • income_tax_form Selection
    required=True selection=[('pnd3', 'PND3'), ('pnd53', 'PND53')] string='Income Tax Form'
  • results Many2many → withholding.tax.cert.line
    comodel_name='withholding.tax.cert.line' compute='_compute_results' help='Use compute fields, so there is nothing store in database' string='Results'
Public methods (4)
  • format_date(self, date=None)
  • format_date_dmy(self, date=None)
  • get_html(self, given_context=None)
    @api.model
  • print_report(self, report_type='qweb')

New fields (3)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> domain=<expr> ondelete='cascade' required=True string='Company'
  • date_range_id Many2one → date.range
    comodel_name='date.range' required=True string='Date Range'
  • income_tax_form Selection
    required=True selection=[('pnd3', 'PND3'), ('pnd53', 'PND53')] string='Income Tax Form'
Public methods (4)
  • button_export_html(self)
  • button_export_pdf(self)
  • button_export_txt(self)
  • button_export_xlsx(self)
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_report
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYAccounting
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, kranokporn
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-thailand:
    - l10n_th_partner
    - l10n_th_withholding_tax_cert
    - l10n_th_withholding_tax
OCA/partner-contact:
    - partner_company_type
    - partner_firstname
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - contacts
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
footer_report_withholding_tax footer_report_withholding_tax ir.ui.view qweb New
header_report_withholding_tax header_report_withholding_tax ir.ui.view qweb New
l10n_th_withholding_tax_report.internal_layout l10n_th_withholding_tax_report.internal_layout ir.ui.view qweb New
l10n_th_withholding_tax_report.report_buttons l10n_th_withholding_tax_report.report_buttons ir.ui.view qweb New
report_withholding_tax report_withholding_tax ir.ui.view qweb New
report_withholding_tax_html report_withholding_tax_html ir.ui.view qweb New
report_withholding_tax_qweb report_withholding_tax_qweb ir.ui.view qweb New
report_withholding_tax_text report_withholding_tax_text ir.ui.view qweb New
view_withholding_tax_report_wizard withholding.tax.report.wizard.view withholding.tax.report.wizard form New
withholding_tax_report_assets_backend withholding_tax_report assets ir.ui.view qweb Inherits web.assets_backend
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • render_qweb_text(self, docids, data=None)
    @api.model
    Delete space

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • company_id Many2one → res.company
    comodel_name='res.company' ondelete='cascade' required=True string='Company'
  • date_from Date
  • date_range_id Many2one → date.range
    comodel_name='date.range' required=True string='Date range'
  • date_to Date
  • income_tax_form Selection
    required=True selection=[('pnd3', 'PND3'), ('pnd53', 'PND53')] string='Income Tax Form'
  • results Many2many → withholding.tax.cert.line
    comodel_name='withholding.tax.cert.line' compute='_compute_results' help='Use compute fields, so there is nothing store in database' string='Results'
Public methods (5)
  • format_date(self, date=None)
  • format_date_dmy(self, date=None)
  • format_pnd(self, pnd)
  • get_html(self, given_context=None)
    @api.model
  • print_report(self, report_type='qweb')

New fields (3)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> domain=<expr> ondelete='cascade' required=True string='Company'
  • date_range_id Many2one → date.range
    comodel_name='date.range' required=True string='Date Range'
  • income_tax_form Selection
    required=True selection=[('pnd3', 'PND3'), ('pnd53', 'PND53')] string='Income Tax Form'
Public methods (4)
  • button_export_html(self)
  • button_export_pdf(self)
  • button_export_txt(self)
  • button_export_xlsx(self)
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_withholding_tax_report
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYAccounting
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, Saran, kongrattapong, kittiu, phanupong
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-thailand
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-thailand:
    - l10n_th_partner
    - l10n_th_vendor_tax_invoice
    - account_create_tax_cash_basis_entry_hook
    - l10n_th_withholding_tax_cert
OCA/reporting-engine:
    - report_xlsx
    - report_xlsx_helper
OCA/server-tools:
    - excel_import_export
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - hr_expense
    - hr_contract
    - hr
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES openpyxl
xlrd
xlwt
xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
footer_report_withholding_tax footer_report_withholding_tax ir.ui.view qweb New
header_report_withholding_tax header_report_withholding_tax ir.ui.view qweb New
l10n_th_withholding_tax_report.internal_layout l10n_th_withholding_tax_report.internal_layout ir.ui.view qweb New
l10n_th_withholding_tax_report.report_buttons l10n_th_withholding_tax_report.report_buttons ir.ui.view qweb New
report_withholding_tax report_withholding_tax ir.ui.view qweb New
report_withholding_tax_html report_withholding_tax_html ir.ui.view qweb New
report_withholding_tax_qweb report_withholding_tax_qweb ir.ui.view qweb New
view_withholding_tax_report_wizard withholding.tax.report.wizard.view withholding.tax.report.wizard form New
withholding_tax_report_assets_backend withholding_tax_report assets ir.ui.view qweb Inherits web.assets_backend
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> ondelete='cascade' required=True string='Company'
  • date_from Date
    string='Date From'
  • date_range_id Many2one → date.range
    comodel_name='date.range' required=True string='Date range'
  • date_to Date
    string='Date To'
  • income_tax_form Selection
    required=True string='Income Tax Form' args: [('pnd3', 'PND3'), ('pnd53', 'PND53')]
  • results Many2many → withholding.tax.cert.line
    compute='_compute_results' help='Use compute fields, so there is nothing store in database' string='Results' args: 'withholding.tax.cert.line'
Public methods (2)
  • get_html(self, given_context=None)
    @api.model
  • print_report(self, report_type='qweb')
    @api.multi

New fields (4)
  • date_from Date
    string='Date From'
  • date_range_id Many2one → date.range
    comodel_name='date.range' required=True string='Date Range'
  • date_to Date
    string='Date To'
  • income_tax_form Selection
    required=True string='Income Tax Form' args: [('pnd3', 'PND3'), ('pnd53', 'PND53')]
Public methods (5)
  • button_export_excel(self)
    @api.multi
  • button_export_html(self)
    @api.multi
  • button_export_pdf(self)
    @api.multi
  • button_export_xlsx(self)
    @api.multi
  • onchange_date_range_id(self)
    @api.onchange('date_range_id')
    Handle date range change.