跳至內容
選單
此問題已被標幟
2 回覆
6482 瀏覽次數

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 ? 

 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
8月 19
3411
1
9月 16
5159
1
3月 15
5400
2
3月 15
5510
0
12月 24
936