X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=addons%2Fbase_vat%2F__openerp__.py;h=3071ddf2f5af664ac7155c334367c1433d9044e0;hb=117bf937b9b9489718a46ad5d6a967110ee5c3f7;hp=ff34cd3e09c36adfa424db4cf7ee8c0996fa65e1;hpb=899d96f1026a0772bb5f4256c094e486d66c6146;p=odoo%2Fodoo.git diff --git a/addons/base_vat/__openerp__.py b/addons/base_vat/__openerp__.py index ff34cd3..3071ddf 100644 --- a/addons/base_vat/__openerp__.py +++ b/addons/base_vat/__openerp__.py @@ -18,22 +18,47 @@ # along with this program. If not, see . # ############################################################################## + { - 'name': 'Base VAT - To check VAT number validity', + 'name': 'VAT Number Validation', 'version': '1.0', - 'category': 'Generic Modules/Base', + 'category': 'Hidden/Dependency', 'description': """ - Enable the VAT Number for the partner. Check the validity of that VAT Number. +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. - This module follows the methods stated at http://sima-pc.com/nif.php for - checking the validity of VAT Number assinged to partners in European countries. +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. """, - 'author': 'Tiny', + 'author': 'OpenERP SA', 'depends': ['account'], 'website': 'http://www.openerp.com', - 'update_xml': ['base_vat_view.xml'], + 'data': ['base_vat_view.xml'], 'installable': True, - 'active': False, - 'certificate': '0084849360989', + 'auto_install': False, + 'images': ['images/1_partner_vat.jpeg'], } -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: