Thailand Localization - VAT Reports
l10n_th_vat_report · OCA/l10n-thailand
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 74 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis
3 migration notes
4 models
11 views
0 HTTP endpoints
Migration considerations
VatReport— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceVatReportWizard— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (3 methods) migration-api-multi-one · sourcel10n_th_vat_report.internal_layout— Migrating to 15.0: QWeb `t-raw` is deprecated: use `t-out`; for intended HTML, sanitize it at its source, since `Markup` alone does not sanitize. migration-view-t-raw · 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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 11
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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 |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (6)
-
account_idMany2one → account.accountcomodel_name='account.account'required=Truestring='Account' -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>ondelete='cascade'required=Truestring='Company' -
date_fromDaterequired=Truestring='From Date' -
date_range_idMany2one → date.rangecomodel_name='date.range'required=Truestring='Period' -
date_toDaterequired=Truestring='To Date' -
tax_idMany2one → account.taxcomodel_name='account.tax'domain=[('tax_exigibility', '=', 'on_invoice'), ('type_tax_use', 'in', ['sale', 'purchase']), ('include_base_amount', '=', False)]required=Truestring='Tax'
-
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_idMany2one → account.accountcomodel_name='account.account' -
company_idMany2one → res.companycomodel_name='res.company' -
date_fromDate -
date_range_idMany2one → date.rangecomodel_name='date.range' -
date_toDate -
resultsMany2many → vat.report.viewcomodel_name='vat.report.view'compute='_compute_results'help='Use compute fields, so there is nothing store in database' -
tax_idMany2one → account.taxcomodel_name='account.tax'
-
get_html(self, given_context=None)@api.model -
print_report(self, report_type='qweb')@api.multi
New fields (3)
-
tax_amountFloat -
tax_base_amountFloat -
tax_dateChar
No public methods.