跳至內容
選單
此問題已被標幟
1 回覆
3166 瀏覽次數

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

頭像
捨棄
最佳答案

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. 

頭像
捨棄
作者

thanks Nehal,