Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6486 Lượt xem

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,..)

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

but there are no link with the customer card ? 

 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 19
3412
1
thg 9 16
5160
1
thg 3 15
5402
2
thg 3 15
5511
0
thg 12 24
939