How can i disable sales model editing with a dynamically computed condition?
I've inherited the model and added a can_edit flag. I'd like to only allow updating a Sale if the flag is true and the User belongs to group X.
Thanks!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How can i disable sales model editing with a dynamically computed condition?
I've inherited the model and added a can_edit flag. I'd like to only allow updating a Sale if the flag is true and the User belongs to group X.
Thanks!
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 11 24
|
1217 | ||
|
2
thg 3 15
|
4025 | ||
|
1
thg 3 15
|
7504 | ||
|
1
thg 7 24
|
4166 | ||
|
1
thg 4 22
|
3761 |