Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3339 Vistas

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


Avatar
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
sept 17
8301
1
ene 17
4046
0
jul 16
2814
1
dic 15
4102
1
ago 24
2220