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.
- Add tests
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.
- Sergio Teruel <[email protected]>
- Carlos Dauden <[email protected]>
- Pedro M. Baeza <[email protected]>
- Jairo Llopis <[email protected]>
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 https://odoo-community.org.