Skip to content
Health
57/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 39 months ago
  • Required by20/25
    3 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 13.0

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

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

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_th_company_novat, l10n_th_expense_withholding_tax, l10n_th_withholding_tax_cert

Code analysis

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

Views touched 6

XML IDNameModelTypeStatus
product_template_form_view product.template.form.inherit product.template form Inherits product.product_template_form_view
view_account_form view.account.form account.account form Inherits account.view_account_form
view_account_payment_register_form account.payment.register.form account.payment.register form 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 form Inherits account.view_move_form

HTTP endpoints 0

No HTTP endpoints found for this module.

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.

Loading…