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
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.
Did you see that: https://www.odoo.com/forum/help-1/question/by-which-concept-this-field-employee-appears-in-the-res-users-model-114865
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.