Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 15 Odoo series since 6.1

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.31 MB
Module directory on disk
Code analysis 0 migration notes 12 models 19 views 1 HTTP endpoint

Description

Chart of Accounts for Thailand.

Thai accounting chart and localization.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 19

XML IDNameModelTypeStatus
company_address_list company_address_list ir.ui.view qweb Inherits web.company_address_list
report_50_tawi report_50_tawi ir.ui.view qweb New
report_50_tawi_document report_50_tawi_document ir.ui.view qweb New
report_invoice report_invoice ir.ui.view qweb Inherits account.report_invoice
report_invoice_document report_invoice_document ir.ui.view qweb Inherits account.report_invoice_document
report_tax_invoice report_tax_invoice ir.ui.view qweb New
report_tax_invoice_document report_tax_invoice_document ir.ui.view qweb Inherits l10n_th.report_invoice_document
res_company_form_inherit_l10n_th res.company.form.inherit.l10n_th res.company form Inherits base.view_company_form
res_config_settings_view_form res.config.settings.view.form.inherit.l10n_th res.config.settings form Inherits account.res_config_settings_view_form
tawi_square tawi_square ir.ui.view qweb New
tax_invoice_document_tax_totals tax_invoice_document_tax_totals ir.ui.view qweb New
th_partner_address_form th.partner.form.address res.partner form New
tickbox_with_desc tickbox_with_desc ir.ui.view qweb New
view_account_payment_form_inherit_l10n_th account.payment.form.inherit.l10n_th account.payment form Inherits l10n_account_withholding_tax.view_account_payment_form
view_account_payment_register_form_inherit_l10n_th account.payment.register.form.inherit.l10n_th account.payment.register form Inherits l10n_account_withholding_tax.view_account_payment_register_form
view_move_form_th_inherit account.move.form.th.inherit account.move form Inherits account.view_move_form
view_partner_form_inherit_l10n_th res.partner.form.inherit.l10n_th res.partner form Inherits base.view_partner_form
view_tax_form_inherit_l10n_th account.tax.form.inherit.l10n_th account.tax form Inherits account.view_tax_form
view_tax_tree_inherit_l10n_th account.tax.list.inherit.l10n_th account.tax list Inherits account.view_tax_tree

HTTP endpoints 1

Route(s)HandlerAuthTypeMethodsFlags
/l10n_th/download_tawi_reports/<models("ir.attachment"):attachments> TawiReportsDownloadController.download_tawi_reports user http ALL

Models touched 12

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • l10n_th_is_vat_registered Boolean
    related='company_id.l10n_th_is_vat_registered'
  • l10n_th_tax_invoice_ids One2many → l10n_th.tax.invoice
    comodel_name='l10n_th.tax.invoice' inverse_name='invoice_move_id' string='Tax Invoices'
Public methods (2)
  • button_cancel(self)
  • button_draft(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • l10n_th_wth_condition Selection
    compute='_compute_l10n_th_wth_condition' readonly=False selection=[('at_source', 'Withhold at source'), ('forever', 'Paid by payer (Forever/Gross-up)'), ('one_time', 'Paid by payer (One-time)')] store=True string='Withholding Condition' tracking=True
Public methods (2)
  • action_download_50_tawi_bulk(self)
    Triggered by the 'Thailand: 50 tawi' bulk print action. Validates the records and downloads a ZIP containing individual PDF reports,
  • action_l10n_th_print_50_tawi(self)
    Triggered by the 'Print 50 Tawi' button.

New fields (1)
  • l10n_th_wth_condition Selection
    compute='_compute_l10n_th_wth_condition' readonly=False selection=[('at_source', 'Withhold at source'), ('forever', 'Paid by payer (Forever/Gross-up)'), ('one_time', 'Paid by payer (One-time)')] store=True string='Withholding Condition'
Public methods (0)

No public methods.

New fields (2)
  • l10n_th_income_tax_type Selection
    help="The income type on 50 Tawi. Select 'Not Applicable' to exclude from 50 Tawi." selection=[('service', '40 (2) - Services'), ('commission', '40 (2) - Commission / Brokerage'), ('royalties', '40 (3) - Royalties'), ('interest', '40 (4) a - Interest'), ('dividend', '40 (4) b - Dividend'), ('rentals', '40 (5) - Rentals'), ('prof_fees', '40 (6) - Professional fees'), ('contract', '40 (7) - Contract'), ('transportation', '40 (8) - Transportation'), ('advertising', '40 (8) - Advertising'), ('insurance', '40 (8) - Non-life insurance'), ('public_actor', '40 (8) - Public Actor'), ('prize', '40 (8) - Prize'), ('hire_of_work', '40 (8) - Hire of Work'), ('others', 'Others'), ('na', 'Not Applicable')] string='Income Tax Type'
  • l10n_th_income_tax_type_others Char
    help='Specific income type to display on 50 Tawi.' string='Other Type'
Public methods (0)

No public methods.

New fields (1)
  • account_fiscal_country_id Many2one
    readonly=True related='company_id.account_fiscal_country_id'
Public methods (0)

No public methods.

New fields (15)
  • amount_residual Monetary
    string='Amount Due'
  • company_id Many2one
    index=True precompute=True readonly=True related='invoice_move_id.company_id' store=True
  • currency_id Many2one
    related='invoice_move_id.currency_id'
  • date Date
    string='Date'
  • invoice_move_id Many2one → account.move
    check_company=True comodel_name='account.move' ondelete='cascade' required=True
  • is_partially_paid Boolean
    string='Partially Paid'
  • payment_move_id Many2one → account.move
    check_company=True comodel_name='account.move' index='btree_not_null' ondelete='set null'
  • reference Char
    compute='_compute_reference' store=True string='Reference'
  • state Selection
    copy=False default='draft' readonly=True required=True selection=[('draft', 'Draft'), ('posted', 'Posted'), ('cancel', 'Cancelled')] string='Status'
  • tax_group_amounts Json
    copy=False string='Tax Group Amounts'
  • tax_invoice_lines Json
    copy=False string='Tax Invoice Lines'
  • tax_invoice_number Char
    string='Tax Invoice Number'
  • total_amount Monetary
    string='Total Amount'
  • total_on_payment_amount Monetary
    string='Total On Payment Amount'
  • vat_amount Monetary
    string='VAT Amount'
Public methods (2)
  • action_print_tax_invoice_pdf(self)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • l10n_th_is_vat_registered Boolean
    help='Check this to enable issuing Tax Invoices. Otherwise, only standard invoices or receipts can be issued.' string='Thailand: VAT Registered'
Public methods (0)

No public methods.

New fields (4)
  • l10n_th_address_no_country Char
    compute='_compute_l10n_th_address_no_country' export_string_translation=False
  • l10n_th_branch_name Char
    compute='_compute_l10n_th_branch_name'
  • l10n_th_company_type Selection
    string='Company Type' args: [('company_ltd', 'Company Limited'), ('pub_company_ltd', 'Public Company Limited'), ('ltd_partner', 'Limited Partnership'), ('foundation', 'Foundation'), ('asso', 'Association'), ('joint_venture', 'Joint Venture'), ('others', 'Others')]
  • l10n_th_title Selection
    string='Title' args: [('khun', 'Khun'), ('mr', 'Mr.'), ('ms', 'Ms.'), ('mrs', 'Mrs.')]
Public methods (0)

No public methods.

New fields (1)
  • proxy_type Selection
    ondelete={'ewallet_id': 'set default', 'merchant_tax_id': 'set default', 'mobile': 'set default'} selection_add=[('ewallet_id', 'Ewallet ID'), ('merchant_tax_id', 'Merchant Tax ID'), ('mobile', 'Mobile Number')]
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…