Repository
OCA/partner-contact · module folder · Try on Runboat
Module version
1.1.0
Category
Customer Relationship Management
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/partner-contact
Last tracking update
2026-08-07 08:23:01
Authors
Odoo Community Association (OCA), Forest and Biomass Romania, NextERP Romania
Maintainers
Odoo Community Association (OCA), Forest and Biomass Romania, NextERP Romania
Committers
Weblate, OCA-git-bot, oca-ci, Jérémy Didderen, Bhavesh Heliconia
Odoo dependencies
Python dependencies
python-stdnum
System dependencies
None
Required by
None
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.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • vies_vat_change(self)
    @api.onchange('vat')

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
84 days ago
Last activity
82 days ago
Repository
OCA/partner-contact
Pull request
[WIP][18.0][MIG] partner_data_vies_populator (#2373)