Account Fiscal Position Vies Warning
by Moduon https://github.com/OCA/account-fiscal-rule , Odoo Community Association (OCA) https://github.com/OCA/account-fiscal-ruleAvailability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Contacts (contacts)
• Discuss (mail) • Invoicing (account) |
Lines of code | 54 |
Technical Name |
account_fiscal_position_vies_warning |
License | LGPL-3 |
Website | https://github.com/OCA/account-fiscal-rule |
Account Fiscal Position Vies Warning
This module adds a verification on res.partner and account.move models ensuring that Fiscal positions with check Show Vies Warning can only be assigned to partners who have successfully passed VIES validation (vies_valid = True).
Table of contents
Use Cases / Context
This module was developed to prevent errors when setting the some Fiscal Position (for ex. in Spain location it’s Intra-community) if the partner’s VAT number is not registered in VIES
Configuration
To use this module you need:
- Go to Invoicing > Configuration > Settings and check Verify VAT Numbers
- Go to Invoicing > Configuration > Fiscal Position and create or select one
- Set a Show Vies Warning
Usage
Partner
- Create or edit a partner.
- Enter the VAT number.
- Set the Fiscal Position that have Show Vies Warning active.
- If the VAT is registered in VIES, the partner form can be saved.
- Otherwise, Odoo will display a warning message.
Invoicing
- Create a new invoice.
- Select a partner who is not registered in VIES.
- Set the Fiscal Position that have Show Vies Warning active and
confirm the invoice.
- If the VAT is registered in VIES, the invoice can be confirmed.
- Otherwise, Odoo will display a warning message.
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 to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Moduon
Contributors
- Rafael Blasco (Moduon)
- Andrii Kompaniiets (Moduon)
Maintainers
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.
Current maintainers:
This module is part of the OCA/account-fiscal-rule project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Please log in to comment on this module