Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2373 Ansichten

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
Verwerfen
Autor

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.

Beste Antwort

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Juli 25
5020
2
Dez. 24
8001
2
Nov. 24
28795
2
Mai 24
7668
3
März 24
7127