Street numbers and extensions
by Hunki Enterprises BV https://github.com/OCA/partner-contact , Odoo Community Association (OCA) https://github.com/OCA/partner-contact| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 331 |
| Technical Name |
partner_street_number |
| License | AGPL-3 |
| Website | https://github.com/OCA/partner-contact |
| Versions | 7.0 8.0 9.0 10.0 16.0 |
Street numbers and extensions

This module extends the functionality of base_address_extended to support custom street name formats.
Further, it allows users to turn on manual entry of the components of a street name, and to bulk split/compose street names of existing partners.
Table of contents
Use Cases / Context
This module was developed because base_address_extended doesn’t support custom street name formats.
Configuration
To configure this module, you need to:
- Go to the form of a country
- Fill in the fields ‘Parse Regex’ and ‘Format Expression’
- ‘Parse Regex’ should contain named groups with names street_name, street_number, street_number2 that parses the split fields from the content of the street field
- ‘Format Expression’ is an Odoo template expression that generates the content of the street field based on the split fields
- You can fill in some string to test your expressions, first this string will be decomposed using ‘Parse Regex’, and then the parts will be joined together using ‘Format Expression’. Ideally, that should yield the same value as you filled in
Usage
To use this module, you need to:
- Go to a partner
- Set the partner’s country to a country with the street name parse regex filled
- Fill in a street name supported by the country’s configuration
- Observe that the fields street_name, street_number and street_number2 are filled according to the country’s configuration
For bulk updating partner fields (ie after you’ve changed the configuration of some country wrt street name parsing/formatting), use the Update partner street fields wizard, available for group Contact Creation.
In case you always want to edit the street name components manually, activate setting Use split fields for street name in partner form.
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
- Hunki Enterprises BV
Contributors
- Holger Brunn <mail@hunki-enterprises.com> (https://hunki-enterprises.com)
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.
Current maintainer:

This module is part of the OCA/partner-contact project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Please log in to comment on this module