Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Integration with PostcodeApi.nu

Beta License: AGPL-3 OCA/l10n-netherlands Translate me on Weblate Try me on Runboat

This module contains integration of the excellent 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/

Table of contents

Installation

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

It now also depends on l10n_nl_country_states, to provide the names of the provinces, that will be added to the res_country_state model.

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 auto-completed if a country state with the exact name is found in the system.

Changelog

11.0.2.0.0 (2021-08-21)

  • Now depend on l10n_nl_country_states to prevent conflicts with that module;

  • No manual caching of province data. It complicates code and performance gain will almost certainly be negligible;

  • Check valid Api Key in configuration immediately when setting or updating key;

  • Take into account that with l10n_nl_country_states installed, state_id on partner will in many cases be set, even if postcode api not active, or cannot find address;

  • Adjust tests to run properly on databases already containing data.

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

  • Therp BV

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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 maintainer:

NL66278

This module is part of the OCA/l10n-netherlands project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo12-addon-l10n-nl-postcodeapi 12.0.2.0.0.99.dev5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo12-addon-l10n-nl-postcodeapi 12.0.2.0.0.99.dev5
File Interpreter ABI Platform Actions
odoo12_addon_l10n_nl_postcodeapi-12.0.2.0.0.99.dev5-py3-none-any.whl Python 3 none any Details for odoo12_addon_l10n_nl_postcodeapi-12.0.2.0.0.99.dev5-py3-none-any.whl

Release files / odoo12_addon_l10n_nl_postcodeapi-12.0.2.0.0.99.dev5-py3-none-any.whl

Download URL odoo12_addon_l10n_nl_postcodeapi-12.0.2.0.0.99.dev5-py3-none-any.whl
Size 51.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84f39882d738fa18f66c85d8585cc8f966bafb34d689e9a9f4f67da86d55ff6a
BLAKE2b-256 checksum
How to use checksums
c2731e3574db40c9930af6aa7f2241f67631101793db2a1d0ae174db60d5dcf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Security for odoo12-addon-l10n-nl-postcodeapi 12.0.2.0.0.99.dev5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page