TIP: You can type at any time to perform a new search.
Account Tax One VAT
account_tax_one_vat · OCA/account-invoicing
- Repository
- OCA/account-invoicing · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- account
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-invoicing
- Last tracking update
- 2026-08-07 08:42:47
- Authors
- Camptocamp, Odoo Community Association (OCA), Acsone
- Maintainers
- Camptocamp, Odoo Community Association (OCA), Acsone
- Committers
- OCA-git-bot, oca-ci, Bhavesh Heliconia
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- account_tax_one_vat_purchase, account_tax_one_vat_sale
- 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.
Code Analysis ⓘ
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)
New fields (0)
No new fields.
Public methods (1)-
action_post(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
is_vatBooleanargs: 'VAT tax'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
vatCharcompute='_compute_product_vat'string='VAT name' -
vat_idMany2one → account.taxcompute='_compute_product_vat'string='VAT' args: 'account.tax'
No public methods.
New fields (1)
-
account_tax_one_vatBooleanhelp='Avoid the selection of multiple VAT taxes.'string='One VAT tax only'
No public methods.
New fields (1)
-
account_tax_one_vatBooleanreadonly=Falserelated='company_id.account_tax_one_vat'
No public methods.
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 114 days ago
- Last activity
- 98 days ago
- Repository
- OCA/account-invoicing
- Pull request
- [19.0][MIG] account_tax_one_vat: Migration to 19.0 (#2336)