Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3180 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
8049
1
janv. 17
3898
0
juil. 16
2681
1
déc. 15
3997
1
août 24
1953