Skip to main content

Autocomplete Dutch addresses using PostcodeApi.nu

Project description

License: AGPL-3

Auto-completion for Dutch addresses

This module contains integration of the excellent and free address completion service ‘PostcodeAPI’. The service allows lookups by zip code and house number, providing street name and city. The lookups will be triggered in the partner form views when a zip code or house number is entered or modified. Only Dutch addresses (which is assumed to include addresses with no country) are auto-completed.

More info about the lookup service here: http://www.postcodeapi.nu/

Installation

This module depends on the module partner_street_number, which will split up the street field into separate fields for street name and number.

This module can be gotten from https://github.com/oca/partner-contact/tree/10.0

You also need to have the ‘pyPostcode’ Python library by Stefan Jansen installed (https://pypi.python.org/pypi/pyPostcode).

Configuration

Please enter the API key that you request from PostcodeAPI into the system parameter ‘l10n_nl_postcodeapi.apikey’

Provinces are autocompleted if a country state with the exact name is found in the system. A CSV file with the Dutch provinces is included in the data directory, but not loaded by default. You can import the file manually.

Compatibility

This module is compatible with Odoo 10.0.

Usage

Try me on Runbot

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.

Credits

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA at https://github.com/OCA/l10n-netherlands

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 http://odoo-community.org.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page