I want that a user that have the portal group, can create a product. How can I do that?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
3087
瀏覽次數
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
|
7947 | ||
|
1
1月 17
|
3819 | ||
|
0
7月 16
|
2571 | ||
|
1
12月 15
|
3927 | ||
|
1
8月 24
|
1834 |