Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

limit access to customer portal

By
Coralie Cardon
on 2/9/15, 10:09 AM 762 views

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

 

1

Vasanth

--Vasanth--
3458
| 5 3 8
Pondicherry, India
--Vasanth--
Vasanth
On 2/10/15, 1:17 AM

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

0
Coralie Cardon
On 2/10/15, 3:06 AM

but there are no link with the customer card ? 

 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 2/9/15, 10:09 AM
Seen: 762 times
Last updated: 4/2/15, 6:18 AM