Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3322 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
8282
1
jan. 17
4040
0
jul. 16
2810
1
dec. 15
4086
1
aug. 24
2210