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()
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
3
thg 5 25
|
1833 | ||
|
1
thg 4 25
|
1370 | ||
one2one relational field
Đã xử lý
|
|
3
thg 9 24
|
14319 | |
|
0
thg 9 24
|
1389 | ||
|
0
thg 5 24
|
26 |