Account Tax One VAT

account_tax_one_vat
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/18.0/account_tax_one_vat
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYaccount
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, Acsone
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, Acsone
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Bhavesh Heliconia
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form in (account_tax_one_vat) res.config.settings xpath Inherits account.res_config_settings_view_form
view_account_tax_search account.tax.search in (account_tax_one_vat) account.tax filter Inherits account.view_account_tax_search
view_tax_form account.tax.form in (account_tax_one_vat) account.tax group Inherits account.view_tax_form
view_tax_tree account.tax.tree in (account_tax_one_vat) account.tax field Inherits account.view_tax_tree
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_vat Boolean
    args: 'VAT tax'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • vat Char
    compute='_compute_product_vat' string='VAT name'
  • vat_id Many2one → account.tax
    compute='_compute_product_vat' string='VAT' args: 'account.tax'
Public methods (0)

No public methods.

New fields (1)
  • account_tax_one_vat Boolean
    help='Avoid the selection of multiple VAT taxes.' string='One VAT tax only'
Public methods (0)

No public methods.

New fields (1)
  • account_tax_one_vat Boolean
    readonly=False related='company_id.account_tax_one_vat'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/16.0/account_tax_one_vat
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYaccount
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, Acsone
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, Acsone
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, hda
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:52
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form in (account_tax_one_vat) res.config.settings xpath Inherits account.res_config_settings_view_form
view_account_tax_search account.tax.search in (account_tax_one_vat) account.tax filter Inherits account.view_account_tax_search
view_tax_form account.tax.form in (account_tax_one_vat) account.tax group Inherits account.view_tax_form
view_tax_tree account.tax.tree in (account_tax_one_vat) account.tax field Inherits account.view_tax_tree
Models touched (8)

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_vat Boolean
    args: 'VAT tax'
Public methods (0)

No public methods.

New fields (1)
  • is_vat Boolean
    args: 'Is a VAT tax'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • vat Char
    compute='_compute_product_vat' string='VAT name'
  • vat_id Many2one → account.tax
    compute='_compute_product_vat' string='VAT' args: 'account.tax'
Public methods (0)

No public methods.

New fields (1)
  • account_tax_one_vat Boolean
    help='Avoid the selection of multiple VAT taxes.' string='One VAT tax only'
Public methods (0)

No public methods.

New fields (1)
  • account_tax_one_vat Boolean
    readonly=False related='company_id.account_tax_one_vat'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/account-invoicing
PULL REQUEST
PULL REQUEST[19.0][MIG] account_tax_one_vat: Migration to 19.0 (#2336)