This question has been flagged
1 Reply
2520 Views

 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
Discard
Best Answer

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
Discard
Author

thanks Nehal,