Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3469 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
8485
1
jan. 17
4242
0
jul. 16
2952
1
dez. 15
4195
1
ago. 24
2408