Dutch postcode validation for Partners
Dutch postcode validation for Partners
This module checks and validates the Dutch zip code (postcode) on partner forms.
- In case the postcode is not valid, a non-blocking alert is shown.
- In case the postcode is valid, it will be formatted in the form 1234 AB.
Table of contents
Installation
The module depends on the external library 'python-stdnum'.
You can install that library by using pip:
- pip3 install python-stdnum
Usage
To use this module, you need to:
- Open a form of a contact and set it as Individual (not a Company)
- Enter the country = Netherlands
- Enter a valid postcode: not any warning is displayed
- Enter a wrong postcode: a non-blocking warning is displayed
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
- Onestein
Contributors
- Andrea Stirpe <a.stirpe@onestein.nl>
Maintainers
This module is maintained by the OCA.
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.
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.
Once the user has seen at least one product this snippet will be visible.