Thai Localization - Withholding Tax
l10n_th_withholding_tax · OCA/l10n-thailand
Health
57/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 39 months ago
-
Required by20/253 modules depend on it
-
Maturity12/25In 2 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
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
Migration considerations
view_account_payment_register_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_account_withholding_tax_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_accountBooleandefault=Falsehelp='If check, this account is for withholding tax'string='WT Account'
No public methods.
New fields (1)
-
wt_tax_idMany2one → account.withholding.taxcomodel_name='account.withholding.tax'compute='_compute_wt_tax_id'readonly=Falsestore=Truestring='WT'
No public methods.
New fields (1)
-
wt_tax_idMany2one → account.withholding.taxcomodel_name='account.withholding.tax'help='Optional hidden field to keep wt_tax. Useful for case 1 tax only'string='Withholding Tax'
No public methods.
New fields (2)
-
wt_amount_baseMonetaryhelp='Based amount for the tax amount'string='Withholding Base' -
wt_tax_idMany2one → account.withholding.taxcomodel_name='account.withholding.tax'help='Optional hidden field to keep wt_tax. Useful for case 1 tax only'string='Withholding Tax'
-
default_get(self, fields_list)@api.model
New fields (3)
-
account_idMany2one → account.accountcomodel_name='account.account'domain=[('wt_account', '=', True)]ondelete='restrict'required=Truestring='Withholding Tax Account' -
amountFloatstring='Amount' -
nameCharrequired=True
No public methods.
New fields (2)
-
supplier_wt_tax_idMany2one → account.withholding.taxcomodel_name='account.withholding.tax' -
wt_tax_idMany2one → account.withholding.taxcomodel_name='account.withholding.tax'
No public methods.
Loading…