Skip to Content
Menu
This question has been flagged
1 Reply
2928 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
7811
1
Jan 17
3696
0
Jul 16
2455
1
Dec 15
3847
1
Aug 24
1674