Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3277 มุมมอง

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)

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ย. 17
8135
1
ม.ค. 17
3984
0
ก.ค. 16
2765
Product Equipments Checklist แก้ไขแล้ว
1
ธ.ค. 15
4046
1
ส.ค. 24
2095