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!
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
2
11월 24
|
1339 | ||
|
2
3월 15
|
4088 | ||
|
1
3월 15
|
7565 | ||
|
1
7월 24
|
4272 | ||
|
1
4월 22
|
3891 |