[MERGE] lp:~openerp-dev/openobject-addons/trunk-module_description_review-stw
[odoo/odoo.git] / addons / base_vat / __openerp__.py
1 # -*- coding: utf-8 -*-
2 ##############################################################################
3 #
4 #    OpenERP, Open Source Management Solution
5 #    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
6 #
7 #    This program is free software: you can redistribute it and/or modify
8 #    it under the terms of the GNU Affero General Public License as
9 #    published by the Free Software Foundation, either version 3 of the
10 #    License, or (at your option) any later version.
11 #
12 #    This program is distributed in the hope that it will be useful,
13 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
14 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 #    GNU Affero General Public License for more details.
16 #
17 #    You should have received a copy of the GNU Affero General Public License
18 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 #
20 ##############################################################################
21
22 {
23     'name': 'VAT Number Validation',
24     'version': '1.0',
25     "category": 'Hidden/Dependency',
26     'description': """
27 VAT validation for Partner's VAT numbers.
28 =========================================
29
30 After installing this module, values entered in the VAT field of Partners will
31 be validated for all supported countries. The country is inferred from the
32 2-letter country code that prefixes the VAT number, e.g. ``BE0477472701``
33 will be validated using the Belgian rules.
34
35 There are two different levels of VAT number validation:
36
37  * By default, a simple off-line check is performed using the known validation
38    rules for the country, usually a simple check digit. This is quick and 
39    always available, but allows numbers that are perhaps not truly allocated,
40    or not valid anymore.
41  * When the "VAT VIES Check" option is enabled (in the configuration of the user's
42    Company), VAT numbers will be instead submitted to the online EU VIES
43    database, which will truly verify that the number is valid and currently
44    allocated to a EU company. This is a little bit slower than the simple
45    off-line check, requires an Internet connection, and may not be available
46    all the time. If the service is not available or does not support the
47    requested country (e.g. for non-EU countries), a simple check will be performed
48    instead.
49
50 Supported countries currently include EU countries, and a few non-EU countries
51 such as Chile, Colombia, Mexico, Norway or Russia. For unsupported countries,
52 only the country code will be validated.
53     """,
54     'author': 'OpenERP SA',
55     'depends': ['account'],
56     'website': 'http://www.openerp.com',
57     'data': ['base_vat_view.xml'],
58     'installable': True,
59     'auto_install': False,
60     'certificate': '0084849360989',
61     'images': ['images/1_partner_vat.jpeg'],
62 }
63
64 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: