Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3288 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
8142
1
jan. 17
3993
0
jul. 16
2775
1
dez. 15
4050
1
ago. 24
2103