Allows to customize partner street number parsing and formatting
Project description
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
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_partner_street_number-16.0.1.0.0.2-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_partner_street_number-16.0.1.0.0.2-py3-none-any.whl
- Upload date:
- Size: 35.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4ea4b0b852d923d0b69c6cdcf2663ab4c01db0c6ed87529acae48fecd2ea4a4
|
|
| MD5 |
4519acd7792b70da65a13063ab3becd7
|
|
| BLAKE2b-256 |
0e2a1af1fb833dbea25dcd8bfd2defbbbe27ff58962929b23ec5148ba7f446ad
|