Skip to Content
Menu
This question has been flagged
1 Reply
2015 Views

I would expect the field employee in table res_partner to indicate whether there is a user associated with that partner. The value is always false in my implementation Odoo10.

Is there any other way I can use to select all partners that are users for a security rule?

Thanks for any hint, hj

Avatar
Discard
Author

Sorry correcting the question: I would expect the field employee in table res_partner to indicate whether there is an employee associated with that partner.

Is there any other way I can use to select all partners that are employees for a security rule? Thanks to Ermin for the remark.

I have a question almost the same here (https://www.odoo.com/fr_FR/forum/aide-1/question/do-you-know-if-the-field-employee-of-res-partner-is-used-somewhere-114791).

The field 'employee' of the res.partner model doesn't seem to be modified nowhere in the code. I'm still searching in the python code where it could get to True. All my partners have this field always to False... So, may be we will have to change the code to get this field updated when the partner is really an employee.

Best Answer

Employees and users are different entities. A user most not be an employee and an employee must not necessarily be a user.

Avatar
Discard
Related Posts Replies Views Activity
2
Nov 24
25096
2
May 24
5519
3
Mar 24
4964
0
Mar 24
262
3
Feb 24
11421