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

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
3356
1
9月 16
5089
1
3月 15
5359
2
3月 15
5476
0
12月 24
905