Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4053 Visualizzazioni

Hi all,

I have the module arrangment order as Sale Accounting Purchase Wareshoue Settings. I wish to change it in my desired order as per user convenience. Is it possible to change the order ? if yes how can we do that ?

Thanks in advance

Avatar
Abbandona
Risposta migliore

Hi,

I think you want to rearrange the order in which the menu are shown on the menu bar.

If my understanding is correct, you can do that very well using the following

1) Inherit all the menu that you want to rearrange and change the sequence attribute for those menu. All the menu will be rearranged.

Here's the template of a menu item :

<menuitem id="menuitem_id"
          name="Position/Of/The/Menu/Item/In/The/Tree"
          action="action_id"
          icon="NAME_FROM_LIST"
          groups="groupname"
          sequence="<integer>"/>

sequence is an integer that is used to sort the menu item in the menu. The higher the sequence number, the downer the menu item. This argument is not mandatory: if sequence is not specified, the menu item gets a default sequence number of 10. Menu items with the same sequence numbers are sorted by order of creation (_order = "sequence,id").

I have tried it for menu items but not for top menu. But it should work in the same way for top menu as well. Just try it.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
lug 25
2151
3
mag 25
3755
2
giu 25
4221
0
giu 21
2443
1
ago 24
3605