Partner Data VIES Populator
partner_data_vies_populator · OCA/partner-contact
-
Security25/25No findings
-
Activity20/25Last human commit 8 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module allows you to create the partners (companies) based on their VAT number. Name and address of the partner will automatically be completed via VIES Webservice.
VIES Service (based on stdnum python) http://ec.europa.eu/taxation_customs/vies
Unfortunately, VIES doesn't return a structured address but just a multi-line string with aggregate street, zip and city.
So, when the data is retrieved, it will try to populate the City and Zip fields from the last line of the address. The Street field will contain the remaining information.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
No new fields.
Public methods (1)-
vies_vat_change(self)@api.onchange('vat')
Loading…
Loading…
Loading…
Loading…