Odoo Help

0

many2many field throws security error

By
SonnyV
on 3/18/15, 11:37 AM 690 views

Hello

Currently working on odoo7.

I have a user 'userX' who is member of the group 'salesreps'. This group has a domain to only show partners which are created by the group's user.

as userX:
Then I go to calendar (crm.meeting) and try to add an attendee (field partner_ids, many2many with res.partner as relation) I get an access error (Access Denied on res.partner).

The error is thrown because the field tries to read from all partners, but userX only has access to his own partners.

How can I make the field partner_ids only show the partners which are readable by userX?

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 3/18/15, 11:37 AM
Seen: 690 times
Last updated: 3/18/15, 11:46 AM