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

I want that a user that have the portal group, can create a product. How can I do that?


Avatar
Cancelar
Melhor resposta

Normally portal users will have no access right to create products. So you should create a html form and action should create the products with the details. While creating you have to write code to create as a superuser.

eg: request.env['product.template'].sudo().create(*kw)

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
set. 17
8133
1
jan. 17
3974
0
jul. 16
2732
1
dez. 15
4044
1
ago. 24
2092