콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
6155 화면

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.