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

Hi,

I would like to limited access to costumer when they look the portal on the web site (v8).  (only read purchase order or can only read invoice,..)

 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

you can define the access rights in the your_module/security/ir.model.access.csv file by following way:

 

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink

access_purchase_order_portal,purchase.order.portal,purchase.model_purchase_order,portal.group_portal,1,0,0,0
access_purchase_order_line_portal,purchase.order.line.portal,purchase.model_purchase_order_line,portal.group_portal,1,0,0,0

access_account_invoice_user_portal,account.invoice.user.portal,account.model_account_invoice,portal.group_portal,1,0,0,0

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

but there are no link with the customer card ? 

 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ส.ค. 19
3730
1
ก.ย. 16
5360
1
มี.ค. 15
5744
2
มี.ค. 15
5765
0
ธ.ค. 24
1097