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

I am looking for a way to set up a default opening screen for a specific user. For example when you open the Time Off application have it open to the Managers "To Approve" menu which would be default for the managers.

아바타
취소
베스트 답변

Add all your default menus at the top of your module's menu. Order them from the menu with highest access rights (manager menu) to the one with the lowest right. Add a groups tag to each record to limit access. When a manager logs in your default menu entry will be at the top and that is what he will see. When a user logs in that entry won't be available so they will see the one below it. To order the menu items use the sequence attribute. 

<menuitem id="manager_default"
    name="Default Menu for manager"
    parent="YourParent"
    action="YourAction"
    sequence="4"
    groups="YourModule.ManagerGroup"
/>
<menuitem id="user_default"
    name="Default Menu for user"
    parent="YourParent"
    action="YourAction"
    sequence="5"
    groups="YourModule.UserGroup"
/>



아바타
취소
베스트 답변

Hi,

Set home action for the users from the users form view, See:- Set Default Action For Users Using Home Action In Odoo


Thanks

아바타
취소
작성자

Thank you Niyas this does accomplish setting it up upon log in however what I am looking for is once you open the application itself.