Skip to Content
Menu
This question has been flagged
1 Reply
2395 Views

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


Avatar
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
1
Sep 17
6838
1
Jan 17
3088
0
Jul 16
1884
1
Dec 15
2953
1
Aug 24
399