__manifest__.py 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. {
  4. 'name': 'VAT Number Validation',
  5. 'version': '1.0',
  6. 'category': 'Accounting/Accounting',
  7. 'description': """
  8. VAT validation for Partner's VAT numbers.
  9. =========================================
  10. After installing this module, values entered in the VAT field of Partners will
  11. be validated for all supported countries. The country is inferred from the
  12. 2-letter country code that prefixes the VAT number, e.g. ``BE0477472701``
  13. will be validated using the Belgian rules.
  14. There are two different levels of VAT number validation:
  15. --------------------------------------------------------
  16. * By default, a simple off-line check is performed using the known validation
  17. rules for the country, usually a simple check digit. This is quick and
  18. always available, but allows numbers that are perhaps not truly allocated,
  19. or not valid anymore.
  20. * When the "VAT VIES Check" option is enabled (in the configuration of the user's
  21. Company), VAT numbers will be instead submitted to the online EU VIES
  22. database, which will truly verify that the number is valid and currently
  23. allocated to a EU company. This is a little bit slower than the simple
  24. off-line check, requires an Internet connection, and may not be available
  25. all the time. If the service is not available or does not support the
  26. requested country (e.g. for non-EU countries), a simple check will be performed
  27. instead.
  28. Supported countries currently include EU countries, and a few non-EU countries
  29. such as Chile, Colombia, Mexico, Norway or Russia. For unsupported countries,
  30. only the country code will be validated.
  31. """,
  32. 'depends': ['account'],
  33. 'data': [
  34. 'views/res_config_settings_views.xml',
  35. 'views/res_partner_views.xml',
  36. ],
  37. 'license': 'LGPL-3',
  38. }