Input patterns
This module allows to use patterns in text fields in the backend.
Table of contents
Usage
You can either define a pattern in your Python source code on a field as in
my_field = fields.Char(pattern='[0-9]')
or on view level as in
<field name="my_field" pattern="[0-9]" />
Demo data adds a pattern on the street2 field on partner forms to only allow numbers.
Known issues / Roadmap
allow to optionally validate fields against its pattern server side
support text, url, email, phone, … fields
support using a pattern from a computed field
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-enteprises.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/web project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo-addon-web-widget-pattern 18.0.1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo_addon_web_widget_pattern-18.0.1.0.1-py3-none-any.whl | Python 3 | none | any | Details for odoo_addon_web_widget_pattern-18.0.1.0.1-py3-none-any.whl |
Release files / odoo_addon_web_widget_pattern-18.0.1.0.1-py3-none-any.whl
| Download URL | odoo_addon_web_widget_pattern-18.0.1.0.1-py3-none-any.whl |
|---|---|
| Size | 27.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3a4a2d5ce553d6000dce22653891f548fd5734099348ed5383ed44a376e0aa7
|
|
BLAKE2b-256 checksum How to use checksums |
fd8aadbfee49ee45d80e4a7b83f150b44ed2189719a0c17d9b36b756c1245965
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for odoo-addon-web-widget-pattern 18.0.1.0.1
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.