Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
4 Răspunsuri
4687 Vizualizări

I've got a multi company user with a security group that has all rights for model res.partner and hr.employee but when I want to create a new employee I get the Access Error that the user has no permission on document res.partner operation read?

I've extended the the model and added record rules for filtering records for selected company. But I've removed every record rule that I've made for res.partner model and I still get this Access Error and I've got no idea what causes it.

Will it show if I switch logging to debug because on info I see nothing in the log?

EDIT:

I've tried a clean install, new database with no custom modules. Installed only Contact Directory and Employee Directory. Created a user with permissions "Contact Creation" and "Employees Manager" and I've got the same error. 

With only module Employee directory it works but not with both?! So there is error on the odoo modules.

Imagine profil
Abandonează
Autor Cel mai bun răspuns

Had "Portal" selected and that caused the problem.

Imagine profil
Abandonează
Cel mai bun răspuns

Hello Samo Arko,

You can check that your login user have Contact Creation rights or not?

You can find this in user's form view >> Extra Rights >> Contact Creation set as true and you are able to create employee

Or you can also check this with in new database.


Regards,




Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

Imagine profil
Abandonează
Autor

Yeah the user has this set. Now I've tried a clean install, new database with no custom modules. Installed only Contact Directory and Employee Directory. Created a user with permissions "Contact Creation" and "Employees Manager" and I've got the same error. With only module Employee directory it works but not with both?!

Autor

Figure it out, I had the Portal right clicked

Related Posts Răspunsuri Vizualizări Activitate
8
apr. 23
18237
2
dec. 16
5980
4
dec. 19
4119
1
iun. 18
3229
1
ian. 18
8228