[FIX] mail: no_auto_thread default True if the model has no mail.thread
[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       
42     * When the "VAT VIES Check" option is enabled (in the configuration of the user's
43       Company), VAT numbers will be instead submitted to the online EU VIES
44       database, which will truly verify that the number is valid and currently
45       allocated to a EU company. This is a little bit slower than the simple
46       off-line check, requires an Internet connection, and may not be available
47       all the time. If the service is not available or does not support the
48       requested country (e.g. for non-EU countries), a simple check will be performed
49       instead.
50
51 Supported countries currently include EU countries, and a few non-EU countries
52 such as Chile, Colombia, Mexico, Norway or Russia. For unsupported countries,
53 only the country code will be validated.
54     """,
55     'author': 'OpenERP SA',
56     'depends': ['account'],
57     'website': 'https://www.odoo.com/page/accounting',
58     'data': ['base_vat_view.xml'],
59     'installable': True,
60     'auto_install': False,
61     'images': ['images/1_partner_vat.jpeg'],
62 }
63
64 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: