Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6102 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you so much, It worked.

Câu trả lời hay nhất

use a domain for your many2one field, like

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

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you so much, It worked.