Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1888 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
out. 23
2082
1
dez. 22
10911
2
out. 18
8902
0
out. 15
29
0
out. 15
3262