Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1785 Weergaven

Looking for some code or a module that will allow me to limit the unpublishing and publishing of products to certain people.


I would like others to still be able to edit products, but not be able to toggle the is_published field.


Any ideas?  Odoo v16.

Avatar
Annuleer
Beste antwoord

Just create a res.group record to identify those users and take that group into account in order to raise an Exception if the User have the group that forbid the functionality to properly execute by extending the methods that publish and unpublish the products

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
okt. 23
1966
1
dec. 22
10692
2
okt. 18
8799
0
okt. 15
29
0
okt. 15
3133