Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1744 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
říj 23
1893
1
pro 22
10603
2
říj 18
8719
0
říj 15
29
0
říj 15
3098