Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024925Retail ModulesWeb POSpublic2013-10-10 13:242014-12-17 16:56
adrianromero 
marvintm 
normalmajorhave not tried
newopen 
5
 
 
No
0024925: New menu actions cannot be placed in order in the Web POS menu
When creating a new module that add a new menu action this action has to be placed in an array. Ej:

  OB.OBPOSPointOfSale.UI.LeftToolbarImpl.prototype.menuEntries.push({
    kind: 'GCNV.UI.MenuPaidReceipts'
  });

The problem is that with this mechanism it is not possible to group properly actions of the same class and menu actions added by different modules are not properly ordered in the menu.
In description
Allow to add new menu actions for modules with an order value. This way it will be easier to place new menu actions.

For example if the general menu is:

10 Open
20 Save
30 Close

A new module can add a new menu option in its right place.

25 Save As
No tags attached.
Issue History
2013-10-10 13:24adrianromeroNew Issue
2013-10-10 13:24adrianromeroAssigned To => marvintm
2013-10-10 13:24adrianromeroTriggers an Emergency Pack => No
2014-12-17 16:56mtaalNote Added: 0072653
2014-12-17 16:56mtaalTypedefect => feature request

Notes
(0072653)
mtaal   
2014-12-17 16:56   
There is a workaround as you can access the array directly and re-order things there, but agree sort number is much nicer.