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

Hello,


I want portal users to have access to the Time Off module so that they can request holidays from there. How can I do this?

아바타
취소
베스트 답변

Hi,


By default, portal users in Odoo only have access to the customer portal (documents, quotations, invoices, tasks, etc.). The Time Off (hr_holidays) app is restricted to internal users (employees). That’s why portal users cannot see/request holidays directly.


To request holidays, a user must be an Employee in Odoo, which means:


    The user’s record (res.users) is linked to an employee (hr.employee).


    The user has the group Time Off / Employee (hr_holidays.group_hr_holidays_user).


But this also makes them an Internal User (not a Portal User). Portal users do not have access to HR menus.


Recommendation:-


If these are employees → make them Internal Users with the Time Off / Employee group. (Official supported way).


If they are external collaborators/partners and you don’t want to buy licenses → you need a custom portal extension to expose holiday request forms.



So,


Portal users cannot access the Time Off app by default. To let them request holidays, you must either:


    Upgrade them to Internal Users with the “Time Off / Employee” group (official way, requires license), or


    Develop/Install a custom portal module that exposes holiday request forms to portal users.


Hope it helps

아바타
취소
관련 게시물 답글 화면 활동
2
10월 24
33
2
5월 24
3847
1
7월 23
3961
5
7월 25
11455
1
7월 24
2610