Hello, I would like to know how, through an automated action, I could convert a field to uppercase and have it saved this way in the database.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello, I would like to know how, through an automated action, I could convert a field to uppercase and have it saved this way in the database.
Like this:
str(record.name).upper()
or if you use the "Execute Python code" option
record['x_studio_name'] = str(record.name).upper()
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
3
5月 25
|
1828 | ||
|
1
4月 25
|
1365 | ||
|
3
9月 24
|
14292 | ||
|
0
9月 24
|
1382 | ||
|
0
5月 24
|
26 |