Initial commit: OCA Technical packages (595 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:03 +02:00
commit 2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions

View file

@ -0,0 +1,13 @@
You can either define a pattern in your Python source code on a field as in
```python
my_field = fields.Char(pattern='[0-9]')
```
or on view level as in
```xml
<field name="my_field" pattern="[0-9]" />
```
Demo data adds a pattern on the street2 field on partner forms to only allow numbers.