Thailand Localization - VAT Reports

l10n_th_vat_report
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_vat_report
VERSION
VERSION 1.1.1
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-travis, OCA-git-bot, Kitti U, Saran, newtratip, Saran440, kongrattapong, ps-tubtim, 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
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
OCA/server-ux:
    - date_range
odoo/odoo:
    - web
    - base
    - account
    - base_setup
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - hr_expense
    - hr_contract
    - hr
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlrd
xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
assets_backend l10n_th_vat_report assets ir.ui.view qweb Inherits web.assets_backend
l10n_th_vat_report.internal_layout l10n_th_vat_report.internal_layout ir.ui.view qweb New
l10n_th_vat_report.report_buttons l10n_th_vat_report.report_buttons ir.ui.view qweb New
l10n_th_vat_report.report_vat_report_base l10n_th_vat_report.report_vat_report_base ir.ui.view qweb New
l10n_th_vat_report.report_vat_report_filters l10n_th_vat_report.report_vat_report_filters ir.ui.view qweb New
l10n_th_vat_report.report_vat_report_html l10n_th_vat_report.report_vat_report_html ir.ui.view qweb New
l10n_th_vat_report.report_vat_report_lines l10n_th_vat_report.report_vat_report_lines ir.ui.view qweb New
l10n_th_vat_report.report_vat_report_lines_header l10n_th_vat_report.report_vat_report_lines_header ir.ui.view qweb New
l10n_th_vat_report.report_vat_report_pdf l10n_th_vat_report.report_vat_report_pdf ir.ui.view qweb New
l10n_th_vat_report.report_vat_report_total_lines l10n_th_vat_report.report_vat_report_total_lines ir.ui.view qweb New
vat_report_wizard_form vat.report.wizard.form l10n.vat.report.wizard form New
Models touched (4)

New fields (6)
  • account_id Many2one → account.account
    comodel_name='account.account' required=True string='Account'
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> ondelete='cascade' required=True string='Company'
  • date_from Date
    required=True string='From Date'
  • date_range_id Many2one → date.range
    comodel_name='date.range' required=True string='Period'
  • date_to Date
    required=True string='To Date'
  • 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)
    @api.multi
  • button_export_pdf(self)
    @api.multi
  • button_export_xlsx(self)
    @api.multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (7)
  • account_id Many2one → account.account
    comodel_name='account.account'
  • 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 → vat.report.view
    comodel_name='vat.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')
    @api.multi

New fields (3)
  • tax_amount Float
  • tax_base_amount Float
  • tax_date Char
Public methods (0)

No public methods.