Skip to Content
Menu
This question has been flagged
1 Reply
3461 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
8480
1
Jan 17
4240
0
Jul 16
2950
1
Dec 15
4193
1
Aug 24
2405