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

Access denied error (partner: read) when customer open portal [Closed]

By
hanhoe
on 1/30/14, 9:55 AM 2,384 views

The Question has been closed

by
Ray Carnes
on 02/02/2014 20:57:01

Hello!

I send the quotation via mail. In the mail is the link for the portal => User set password.

After logged in, he can see his quotation ... but when he open, he get the error: "Zugriff verweigert (Access denied)" Dokumenten Typ: Partner, Vorgang: read

The customer see everthing, but not the company name. The Paymend and other options are working.

Does I have to set the contact of the company special rights?

Thanks!

Hannes

1
Steven Segers
On 2/2/14, 3:51 AM

This issue arises because the default access-rule is for the portal is too restrictive: A portal user can only read his own info but not that of is company. You can change it by going to Settings > Security > Record Rules. Click on the rule "res_partner: read access on my partner". You can change the rule to this:

['|',('user_ids', 'in', user.id),('user_ids', 'in', user.partner_id.id)]

Thank you!

hanhoe
on 2/2/14, 4:11 AM

About This Community

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

Question tools

0 follower(s)

Stats

Asked: 1/30/14, 9:55 AM
Seen: 2384 times
Last updated: 3/16/15, 8:10 AM