Openbravo Issue Tracking System - POS2
View Issue Details
0047669POS2POSpublic2021-09-10 09:472021-09-15 13:14
jmelin 
AugustoMauch 
highmajoralways
closedfixed 
5
 
 
No
0047669: JIRA 2299 - Display prices on keymap is long for menu component
When displaying the components of a menu, there is a delay when displaying their extra cost
To be reproduce, it requires a lot a product, menu and menu components with extra cost.
It can be easily reproduce on the customer environment, but not on livebuild.

Otherwise, when the prerequisite are done:
Connect to a POS
Check "display prices on keymap" is active
Select a menu
The component shows on the screen and extra cost after a delay
No tags attached.
depends on backport 0047672TAP closed AugustoMauch JIRA 2299 - Display prices on keymap is long for menu component 
gif SlowPrice.gif (263,462) 2021-09-13 13:12
https://issues.openbravo.com/file_download.php?file_id=16193&type=bug
Issue History
2021-09-10 09:47jmelinNew Issue
2021-09-10 09:47jmelinAssigned To => Retail
2021-09-10 09:47jmelinTriggers an Emergency Pack => No
2021-09-10 11:18dmiguelezAssigned ToRetail => AugustoMauch
2021-09-10 12:43dmiguelezStatusnew => scheduled
2021-09-10 12:44dmiguelezStatusscheduled => acknowledged
2021-09-13 13:12AugustoMauchFile Added: SlowPrice.gif
2021-09-14 14:11hgbotNote Added: 0131783
2021-09-14 14:13AugustoMauchStatusacknowledged => scheduled
2021-09-15 13:14hgbotNote Added: 0131819
2021-09-15 13:14hgbotResolutionopen => fixed
2021-09-15 13:14hgbotStatusscheduled => closed
2021-09-15 13:14hgbotNote Added: 0131820

Notes
(0131783)
hgbot   
2021-09-14 14:11   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/71 [^]
(0131819)
hgbot   
2021-09-15 13:14   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/71 [^]
(0131820)
hgbot   
2021-09-15 13:14   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^]
Changeset: d83d3c34e81a653c9063b6f423f342ba91743a82
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 2021-09-15T13:13:07+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/d83d3c34e81a653c9063b6f423f342ba91743a82 [^]

Fixes ISSUE-47669: Additional price in menu wizards takes very long to render

Now if a product has an additional price when added to the menu, the additional price is read from the menu cache,
instead of querying that info from the database

---
M web-jspack/org.openbravo.pos2.restaurant/src/components/MenuWizard/MenuWizardProductKeymapLayout/MenuWizardProductButton/MenuWizardProductButton.jsx
---