Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3168 มุมมอง

 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,