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

 what is the use of SEQUENCE in MENUITEM??

          What does the effect on the menuitem if i add this in menu?

      <menuitem name="Manufacturing" id=".menu_mrp_manufacturing" parent="base.menu_mrp_root" sequence="1"/>

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

Sequence is used to show sub-menu items in sequence.
For example,  
<menuitem name="Parent Menu" id=".parent_menu"/>
<menuitem name="Sub Menu1" id=".parent_menu" parent=".parent_menu" sequence="1"/>
<menuitem name="Sub Menu2" id=".parent_menu" parent=".parent_menu" sequence="2"/>
It will display your menu items like below:
Parent Menu
          Sub Menu1
          Sub Menu2
Hope this helps. 

Awatar
Odrzuć
Autor

thanks Nehal,