跳至内容
菜单
此问题已终结
1 回复
3078 查看

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


形象
丢弃
最佳答案

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)

形象
丢弃
相关帖文 回复 查看 活动
1
9月 17
7943
1
1月 17
3817
0
7月 16
2567
1
12月 15
3927
1
8月 24
1831