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!
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
2
nov. 24
|
1212 | ||
|
2
mars 15
|
4024 | ||
|
1
mars 15
|
7493 | ||
|
1
juil. 24
|
4161 | ||
|
1
avr. 22
|
3756 |