Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3280 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
8137
1
janv. 17
3988
0
juil. 16
2767
1
déc. 15
4046
1
août 24
2095