Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3480 Visualizzazioni

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


Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
set 17
8491
1
gen 17
4244
0
lug 16
2957
1
dic 15
4200
1
ago 24
2410