summaryrefslogtreecommitdiff
path: root/addons/base_vat/__manifest__.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/base_vat/__manifest__.py
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/base_vat/__manifest__.py')
-rw-r--r--addons/base_vat/__manifest__.py44
1 files changed, 44 insertions, 0 deletions
diff --git a/addons/base_vat/__manifest__.py b/addons/base_vat/__manifest__.py
new file mode 100644
index 00000000..42f3172a
--- /dev/null
+++ b/addons/base_vat/__manifest__.py
@@ -0,0 +1,44 @@
+# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+
+{
+ 'name': 'VAT Number Validation',
+ 'version': '1.0',
+ 'category': 'Accounting/Accounting',
+ 'description': """
+VAT validation for Partner's VAT numbers.
+=========================================
+
+After installing this module, values entered in the VAT field of Partners will
+be validated 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.
+
+There are two different levels of VAT number validation:
+--------------------------------------------------------
+ * By default, a simple off-line check is performed using the known validation
+ rules for the country, usually a simple check digit. This is quick and
+ always available, but allows numbers that are perhaps not truly allocated,
+ or not valid anymore.
+
+ * When the "VAT VIES Check" option is enabled (in the configuration of the user's
+ Company), VAT numbers will be instead 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.
+ """,
+ 'depends': ['account'],
+ 'data': [
+ 'views/res_company_views.xml',
+ 'views/res_partner_views.xml',
+ 'views/res_config_settings_views.xml',
+ ],
+ 'license': 'LGPL-3',
+}