Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Autocomplete VAT in checkout process

Project description

License: LGPL-3

Website Sale Checkout Country VAT

This module extends the functionality of website_sale module to autocomplete VAT country code in checkout process.


The default country that will appear is the one of the current user, or the one of the Public User assigned to the website, or the one of the company that owns the website. Change it in the corresponding place to get a sane default.

If you want to have a sane default also in the country address, check the website_sale_default_country module.


When a customer makes a purchase and do the checkout process, the VAT country code can be selected separated from the code itself. This is useful in 2 ways:

  • User is implicitly forced to input (select) a country with its code.
  • Error in the VAT now only can be raised by an incorrect vat, not the absence of the country code, which usually confuses users.

If you change the country for the address and the VAT is empty, the VAT country changes automatically too.

Try me on Runbot

Known issues / Roadmap

  • Add tests

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.



  • Odoo Community Association: Icon.



Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for odoo9-addon-website-sale-checkout-country-vat, version
Filename, size File type Python version Upload date Hashes
Filename, size odoo9_addon_website_sale_checkout_country_vat- (20.7 kB) File type Wheel Python version py2 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page