Skip to content
Health
57/100
fair
  • Security22/25
    1 minor finding
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 20.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.13 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 1 HTTP endpoint

Description

VAT validation for Partner's VAT numbers.

After installing this module, values entered in the VAT field of Partners will be validated using VIES for all supported countries. The country is inferred from the 2-letter country code that prefixes the VAT number, e.g. BE0477472701 will be validated using the Belgian rules.

* When the "VAT VIES Check" option is enabled (in the configuration of the user's
  Company), VAT numbers will be submitted to the online EU VIES database,
  which will truly verify that the number is valid and currently
  allocated to a EU company. This is a little bit slower than the simple
  off-line check, requires an Internet connection, and may not be available
  all the time. If the service is not available or does not support the
  requested country (e.g. for non-EU countries), a simple check will be performed
  instead.

Supported countries currently include EU countries, and a few non-EU countries such as Chile, Colombia, Mexico, Norway or Russia. For unsupported countries, only the country code will be validated.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
view_partner_l10n_eu_account_vies_form view.partner.l10n_eu.account.vies.form res.partner form Inherits base.view_partner_form

HTTP endpoints 1

Route(s)HandlerAuthTypeMethodsFlags
/l10n_eu_account_vies/1/webhook_update_vies L10nEUAccountViesWebhookController.webhook_update_vies public http ALL csrf off

Models touched 2

New fields (1)
  • has_foreign_fiscal_position Boolean
    compute='_compute_has_foreign_fiscal_position'
Public methods (0)

No public methods.

New fields (2)
  • perform_vies_validation Boolean
    compute='_compute_perform_vies_validation'
  • vies_valid Boolean
    compute='_compute_vies_valid' help='European VAT numbers are automatically checked on the VIES database.' readonly=False store=True string='Intra-Community Valid' tracking=True
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)