Is it possible to get old values of a record in an “On Update” automation event ?
i need to compare both values before allowing the update to happen
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Is it possible to get old values of a record in an “On Update” automation event ?
i need to compare both values before allowing the update to happen
record._origin.name is the value of name before the update.
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 | |
---|---|---|---|---|
|
2
thg 8 25
|
607 | ||
|
2
thg 8 25
|
1634 | ||
|
0
thg 2 25
|
1703 | ||
|
1
thg 8 25
|
2374 | ||
|
2
thg 12 24
|
1953 |
I have the same question. Did you mange to access the old values from the python function?