Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2294 Prikazi

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!

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
nov. 24
1520
2
mar. 15
4225
1
mar. 15
7710
1
jul. 24
4354
1
apr. 22
4051