Account Tax One VAT
account_tax_one_vat · OCA/account-invoicing
-
Security25/25No findings
-
Activity20/25Last human commit 9 months ago
-
Required by20/252 modules depend on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module ensures that only one VAT tax can be selected because the invoices (at least in Belgium) must have one and only one VAT tax per line. So this module comes to complete the OCA module account_invoice_tax_required which ensures a line has a tax. It deals with taxes on these objects: * account move line (onchange warning only) * product template for both customer and supplier (constraint only)
The module adds two computed fields on product - vat_id and vat (vat_id.name) - which might be set if the restriction is on.
It also adds a boolean field in the account.tax model to indicates the tax is a VAT.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings.view.form in (account_tax_one_vat) | res.config.settings | form | Inherits account.res_config_settings_view_form |
view_account_tax_search |
account.tax.search in (account_tax_one_vat) | account.tax | search | Inherits account.view_account_tax_search |
view_tax_form |
account.tax.form in (account_tax_one_vat) | account.tax | form | Inherits account.view_tax_form |
view_tax_tree |
account.tax.tree in (account_tax_one_vat) | account.tax | tree | Inherits account.view_tax_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 7
No new fields.
Public methods (1)-
action_post(self)
No new fields.
Public methods (0)No public methods.
-
is_vatBooleanargs: 'VAT tax'
No public methods.
No new fields.
Public methods (0)No public methods.
-
vatCharcompute='_compute_product_vat'string='VAT name' -
vat_idMany2one → account.taxcompute='_compute_product_vat'string='VAT' args: 'account.tax'
No public methods.
-
account_tax_one_vatBooleanhelp='Avoid the selection of multiple VAT taxes.'string='One VAT tax only'
No public methods.
-
account_tax_one_vatBooleanreadonly=Falserelated='company_id.account_tax_one_vat'
No public methods.
Loading…
Loading…