Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3088 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
7947
1
janv. 17
3819
0
juil. 16
2571
1
déc. 15
3927
1
août 24
1834