Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
6423 Zobrazení

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

 

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Autor Nejlepší odpověď

but there are no link with the customer card ? 

 

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
srp 19
3273
1
zář 16
5054
1
bře 15
5312
2
bře 15
5424
0
pro 24
880