Openbravo Issue Tracking System - POS2
View Issue Details
0047771POS2Restaurantspublic2021-09-28 17:202024-01-04 07:17
jarmendariz 
Retail 
normalminorhave not tried
acknowledgedopen 
5
 
 
No
0047771: Remove usages of menuItemPosition
As part of 0047516 and 0047506, a positionInMenu variable were added to be able to identify more reliably a product within a menu, but there are places where the old menuItemPosition is still used and it'd be nice to refactor this code to use only one position variable.
See changeset of 0047516 and 0047506 and look for places where we still use menuItemPosition and try removing it.
Try to use the output of getSelectedProductsByCategory(menuItems) instead of Ticket.line.menuItems directly because in this structure we have a positionInMenu property associated to each product and we will take into consideration the 'gaps' when no product is selected for a menu slot.
No tags attached.
related to defect 0047516 closed jarmendariz Editing a product configuration on a duplicated menu item, will apply it always to the last one 
depends on defect 0047506 closed jarmendariz Duplicated menu items in a menu sometimes don't allow opening the popover of the item 
Issue History
2021-09-28 17:20jarmendarizNew Issue
2021-09-28 17:20jarmendarizAssigned To => Retail
2021-09-28 17:20jarmendarizTriggers an Emergency Pack => No
2021-09-28 17:20jarmendarizRelationship addedrelated to 0047516
2021-09-28 17:21jarmendarizRelationship addeddepends on 0047506
2021-10-18 11:27guilleaerStatusnew => acknowledged
2024-01-04 07:17Daria_ShIssue Monitored: Daria_Sh
2024-01-04 07:17Daria_ShIssue End Monitor: Daria_Sh

There are no notes attached to this issue.