Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3170 Zobrazení

 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"/>

Avatar
Zrušit
Nejlepší odpověď

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. 

Avatar
Zrušit
Autor

thanks Nehal,