Thailand Localization - TAX Reports

l10n_th_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_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, Kitti U, newtratip, flook-chaiwat
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_tax_invoice
OCA/partner-contact:
    - partner_company_type
    - partner_firstname
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
OCA/server-ux:
    - date_range
odoo/odoo:
    - web
    - base
    - contacts
    - mail
    - base_setup
    - bus
    - web_tour
    - hr
    - resource
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
assets_backend l10n_th_tax_report assets ir.ui.view qweb Inherits web.assets_backend
l10n_th_tax_report.internal_layout l10n_th_tax_report.internal_layout ir.ui.view qweb New
l10n_th_tax_report.report_buttons l10n_th_tax_report.report_buttons ir.ui.view qweb New
l10n_th_tax_report.report_tax_report_base l10n_th_tax_report.report_tax_report_base ir.ui.view qweb New
l10n_th_tax_report.report_tax_report_filters l10n_th_tax_report.report_tax_report_filters ir.ui.view qweb New
l10n_th_tax_report.report_tax_report_html l10n_th_tax_report.report_tax_report_html ir.ui.view qweb New
l10n_th_tax_report.report_tax_report_lines l10n_th_tax_report.report_tax_report_lines ir.ui.view qweb New
l10n_th_tax_report.report_tax_report_lines_header l10n_th_tax_report.report_tax_report_lines_header ir.ui.view qweb New
l10n_th_tax_report.report_tax_report_pdf l10n_th_tax_report.report_tax_report_pdf ir.ui.view qweb New
l10n_th_tax_report.report_tax_report_total_lines l10n_th_tax_report.report_tax_report_total_lines ir.ui.view qweb New
tax_report_wizard_form tax.report.wizard.form tax.report.wizard form New
Models touched (4)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • company_id Many2one → res.company
    comodel_name='res.company'
  • date_from Date
  • date_range_id Many2one → date.range
    comodel_name='date.range'
  • date_to Date
  • results Many2many → tax.report.view
    comodel_name='tax.report.view' compute='_compute_results' help='Use compute fields, so there is nothing store in database'
  • tax_id Many2one → account.tax
    comodel_name='account.tax'
Public methods (2)
  • get_html(self, given_context=None)
    @api.model
  • print_report(self, report_type='qweb')

New fields (8)
  • account_id Many2one → account.account
    args: 'account.account'
  • company_id Many2one → res.company
    args: 'res.company'
  • name Char
  • partner_id Many2one → res.partner
    args: 'res.partner'
  • tax_amount Float
  • tax_base_amount Float
  • tax_date Char
  • tax_invoice_number Char
Public methods (0)

No public methods.

New fields (3)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> ondelete='cascade' required=True string='Company'
  • date_range_id Many2one → date.range
    comodel_name='date.range' required=True string='Period'
  • tax_id Many2one → account.tax
    comodel_name='account.tax' domain=[('tax_exigibility', '=', 'on_invoice'), ('type_tax_use', 'in', ['sale', 'purchase']), ('include_base_amount', '=', False)] required=True string='Tax'
Public methods (3)
  • button_export_html(self)
  • button_export_pdf(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_tax_report
VERSION
VERSION 1.2.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
COMMITTERSGitHub, OCA Transbot, oca-travis, OCA-git-bot, Kitti U, kongrattapong, kittiu
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_tax_invoice
OCA/partner-contact:
    - partner_company_type
    - partner_firstname
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
OCA/server-ux:
    - date_range
odoo/odoo:
    - web
    - base
    - contacts
    - mail
    - base_setup
    - bus
    - web_tour
    - account
    - product
    - 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 (11)
XML IDNameModelTypeStatus
assets_backend l10n_th_tax_report assets ir.ui.view qweb Inherits web.assets_backend
l10n_th_tax_report.internal_layout l10n_th_tax_report.internal_layout ir.ui.view qweb New
l10n_th_tax_report.report_buttons l10n_th_tax_report.report_buttons ir.ui.view qweb New
l10n_th_tax_report.report_tax_report_base l10n_th_tax_report.report_tax_report_base ir.ui.view qweb New
l10n_th_tax_report.report_tax_report_filters l10n_th_tax_report.report_tax_report_filters ir.ui.view qweb New
l10n_th_tax_report.report_tax_report_html l10n_th_tax_report.report_tax_report_html ir.ui.view qweb New
l10n_th_tax_report.report_tax_report_lines l10n_th_tax_report.report_tax_report_lines ir.ui.view qweb New
l10n_th_tax_report.report_tax_report_lines_header l10n_th_tax_report.report_tax_report_lines_header ir.ui.view qweb New
l10n_th_tax_report.report_tax_report_pdf l10n_th_tax_report.report_tax_report_pdf ir.ui.view qweb New
l10n_th_tax_report.report_tax_report_total_lines l10n_th_tax_report.report_tax_report_total_lines ir.ui.view qweb New
tax_report_wizard_form tax.report.wizard.form tax.report.wizard form New
Models touched (4)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • company_id Many2one → res.company
    comodel_name='res.company'
  • date_from Date
  • date_range_id Many2one → date.range
    comodel_name='date.range'
  • date_to Date
  • results Many2many → tax.report.view
    comodel_name='tax.report.view' compute='_compute_results' help='Use compute fields, so there is nothing store in database'
  • tax_id Many2one → account.tax
    comodel_name='account.tax'
Public methods (2)
  • get_html(self, given_context=None)
    @api.model
  • print_report(self, report_type='qweb')

New fields (8)
  • account_id Many2one → account.account
    args: 'account.account'
  • company_id Many2one → res.company
    args: 'res.company'
  • name Char
  • partner_id Many2one → res.partner
    args: 'res.partner'
  • tax_amount Float
  • tax_base_amount Float
  • tax_date Char
  • tax_invoice_number Char
Public methods (0)

No public methods.

New fields (3)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> ondelete='cascade' required=True string='Company'
  • date_range_id Many2one → date.range
    comodel_name='date.range' required=True string='Period'
  • tax_id Many2one → account.tax
    comodel_name='account.tax' domain=[('tax_exigibility', '=', 'on_invoice'), ('type_tax_use', 'in', ['sale', 'purchase']), ('include_base_amount', '=', False)] required=True string='Tax'
Public methods (3)
  • button_export_html(self)
  • button_export_pdf(self)
  • button_export_xlsx(self)