Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3345 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
8304
1
ene 17
4048
0
jul 16
2823
1
dic 15
4104
1
ago 24
2230