Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3484 Weergaven

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


Avatar
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
sep. 17
8496
1
jan. 17
4246
0
jul. 16
2959
1
dec. 15
4202
1
aug. 24
2410