Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
5733 Visualizzazioni

I have created new group which is also inherited "See Own Leads" group. Within the group i have added a rule. Rule is

Rule Definition (Domain Filter)

[('create_uid', '=', user.id)]

If the users belongs to the group, can only see the contacts which was created by him. My condition is working fine. But while creating the contact from the user's log-in, i am getting access error. The Error is:

AccessError

The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: res.partner, Operation: read)



Avatar
Abbandona
Risposta migliore

hi Ayyappan,

In the same group you have to provide the "access right" also for 'res.partner' object with the read access.

Regards

Avatar
Abbandona
Autore

I have given the access rights for res.partner(Read, Write, Create). But no use

Are u doing in the same group to which the logged in user belong?? if its fine then it might be, While creating a new contact some field might be there which is trying to populate the data from same res.partner object, but since you have applied the access rule, the system is not able to read some of the records and throwing this error. SO, try disable that access rule once and then continue with your contact creation and see if that error persists.

Post correlati Risposte Visualizzazioni Attività
0
mar 25
1420
0
gen 25
3503
1
ago 23
14870
1
ago 23
13517
1
lug 23
10498