コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2376 ビュー

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.

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.

最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
2
7月 25
5036
2
12月 24
8005
2
11月 24
28804
2
5月 24
7673
3
3月 24
7148