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!
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
|
3150 | |||
|
2
3월 15
|
5566 | |||
|
1
3월 15
|
9196 | |||
|
1
7월 24
|
5529 | |||
|
1
4월 22
|
5729 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.