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/8.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’

Module version 8.0.0.2.0 and higher use a version 2 API key from PostcodeAPI. The old version 1 API key is not compatible with the new API key.

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 OpenERP 8.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 here.

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

File details

Details for the file odoo8_addon_l10n_nl_postcodeapi-8.0.0.2.0.99.dev4-py2-none-any.whl.

File metadata

File hashes

Hashes for odoo8_addon_l10n_nl_postcodeapi-8.0.0.2.0.99.dev4-py2-none-any.whl
Algorithm Hash digest
SHA256 a6325f863fa8fdaf5cc2bac528bf653f0fb62062350b1ca6e40836478ed37afc
MD5 33df895a987ceb1e108041539756fabc
BLAKE2b-256 01abc1d2f56f06a89925309c2bead0c37a359ef904c43d95374d198e39058edf

See more details on using hashes here.

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