Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3690 Widoki

Hello, i want to know how to set default page when installing new module.

Like example, My main module is about restaurant ERP, by it's default when i open my module the default page is Restaurant Overview and then i installed reporting sub module with Report Dashboard on it. How to set default page from Restaurant Overview to Report Dashboard when i open restaurant module ?


Thank you, i still dont have enough karma so i cant reply or comment

Awatar
Odrzuć
Najlepsza odpowiedź

you have two choices

1. make the sub menu you want to be default in sequence, by modifying the sequence on th sub menu item

2. identify the action of the sub menu on the root module menu

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Denny,

By default, Odoo will load the menu from the sequence wise. So you need to add the sequence as per the menu sequence you want.

In your case,  please add sequence=2 in the Restaurant Overview parent menu. and sequence=1 in the Report Dashboard  parent menu.

So by default when you install the Restaurant Overview module, the 2nd sequence menu will be load. and after installing Report Dashboard module, the fist menu will be the Report Dashboard because it's contain the prior sequence than other.

Hope it will help you.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
2357
2
lip 25
7851
2
lip 25
4251
2
lip 25
4014
2
cze 25
2613