Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
paź 23
1895
1
gru 22
10603
2
paź 18
8719
0
paź 15
29
0
paź 15
3098