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!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
2
nov. 24
|
3146 | |||
|
2
mar. 15
|
5560 | |||
|
1
mar. 15
|
9180 | |||
|
1
iul. 24
|
5515 | |||
|
1
apr. 22
|
5699 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.