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

Hi,
Can anyone tell me how we categorize Users as "Internal users" .... which field denotes the use is internal user?
From front end I can see only filter of Internal Users, but field name is not visible from backend as well as from front end.

アバター
破棄
最善の回答

hello

into users table  there is boolean field named "Share User (technical_name - share )". if this field is not checked, that means the user is Internal User.

アバター
破棄
著作者

Thank you so much, It worked.

最善の回答

use a domain for your many2one field, like

int_users = fields.Many2one('res.users', string="users", domain=[('share', '=', False)])

アバター
破棄
著作者

Thank you so much, It worked.