Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3540 Vues

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


Avatar
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
sept. 17
8536
1
janv. 17
4282
0
juil. 16
2980
1
déc. 15
4220
1
août 24
2436