Openbravo Issue Tracking System - POS2
View Issue Details
0056907POS2POSpublic2024-10-25 13:172025-02-04 07:56
lorenzofidalgo 
Rajesh_18 
immediatetrivialalways
closedfixed 
5
main 
25Q2 
approved
No
Production - Confirmed Stable
2023-07-07
23Q4
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/f2044c686aae6726735025ba25bce0643c7eac59 [^]
No
0056907: [24Q4] Decimals are not shown in the "Cash to Keep" cash up process while they are shown in the previous step
Inside the Cash Up process, there is a lack of uniformity regarding the decimals that are shown in the "Amount To Keep" input field. E.g. "301" instead of "301.00". In the previous step inside the Cash Up process, the input field "Counted" shows the amout correctly "301.00".
This behaviour started in 23Q4 and it has been tested to be working properly in 23Q3.2 & 23Q2.3.
0-Login POS as vallblanca.
1-Add 1x "Avalanche Transceiver" to the empty ticket and pay it with Cash.
2-Go to Close Till and Match Expected quantity (150.50 if there is not previously cash kept in that context). Now, click Next button.
3-Inside "Cash to Keep" step, click "Keep 150.50 €" button. DEFECT: Realise "150.5" is shown instead of "150.50".
No tags attached.
png Decimals1.png (40,306) 2024-10-25 13:17
https://issues.openbravo.com/file_download.php?file_id=20382&type=bug
png

png Decimals2.png (36,721) 2024-10-25 13:17
https://issues.openbravo.com/file_download.php?file_id=20383&type=bug
png
Issue History
2024-10-25 13:17lorenzofidalgoNew Issue
2024-10-25 13:17lorenzofidalgoAssigned To => Retail
2024-10-25 13:17lorenzofidalgoFile Added: Decimals1.png
2024-10-25 13:17lorenzofidalgoOBNetwork customer => No
2024-10-25 13:17lorenzofidalgoRegression level => Production - Confirmed Stable
2024-10-25 13:17lorenzofidalgoRegression introduced in release => 23Q4
2024-10-25 13:17lorenzofidalgoTriggers an Emergency Pack => No
2024-10-25 13:17lorenzofidalgoFile Added: Decimals2.png
2024-10-25 13:25migueldejuanaStatusnew => scheduled
2024-10-25 13:25migueldejuanaAssigned ToRetail => Rajesh_18
2024-10-25 13:25migueldejuanaRelationship addedrelated to 0056905
2024-10-25 13:30migueldejuanaRelationship deletedrelated to 0056905
2024-10-28 06:57Rajesh_18Regression date => 2023-07-07
2024-10-28 06:57Rajesh_18Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/f2044c686aae6726735025ba25bce0643c7eac59 [^]
2024-11-30 08:11hgbotMerge Request Status => open
2024-11-30 08:11hgbotNote Added: 0172798
2025-01-02 14:18hgbotMerge Request Statusopen => approved
2025-02-04 07:56hgbotResolutionopen => fixed
2025-02-04 07:56hgbotStatusscheduled => closed
2025-02-04 07:56hgbotNote Added: 0175077
2025-02-04 07:56hgbotFixed in Version => 25Q2
2025-02-04 07:56hgbotNote Added: 0175078
2025-02-04 07:56hgbotNote Added: 0175079
2025-02-04 07:56hgbotNote Added: 0175080

Notes
(0172798)
hgbot   
2024-11-30 08:11   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3179 [^]
(0175077)
hgbot   
2025-02-04 07:56   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3179 [^]
(0175078)
hgbot   
2025-02-04 07:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: cbd70ef88bf6b1a81bb038ef9bba811bfed6f93b
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 04-02-2025 06:56:05
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/cbd70ef88bf6b1a81bb038ef9bba811bfed6f93b [^]

Fixed ISSUE-56907: Fixed decimal places to 2 digits

---
M web-jspack/org.openbravo.pos2/src-test/cypress/fixtures/e2eFixtures/CashUp.json
M web-jspack/org.openbravo.pos2/src-test/cypress/support/countMoney.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/MatchCountedWithExpected.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/SetCashToKeep.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/SetCountedAmount.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/UpdateCashToKeep.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/MatchCountedWithExpected.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/SetCashToKeep.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/SetCountedAmount.js
---
(0175079)
hgbot   
2025-02-04 07:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: dc39428ea1ea696856883e34d5efd5fa534a80f8
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 04-02-2025 06:56:05
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/dc39428ea1ea696856883e34d5efd5fa534a80f8 [^]

Fixed ISSUE-56907: Set decimal precision to amount in cash to keep window

---
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/OpenCashup.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/SetCountedAmount.js
---
(0175080)
hgbot   
2025-02-04 07:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: ecf7270d8470ab99e7aa1d240e059e1063f52d4d
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 04-02-2025 06:56:05
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/ecf7270d8470ab99e7aa1d240e059e1063f52d4d [^]

Fixed ISSUE-56907: Updated Copyright year

---
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/MatchCountedWithExpected.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/SetCashToKeep.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/SetCountedAmount.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/UpdateCashToKeep.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/MatchCountedWithExpected.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/OpenCashup.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/SetCashToKeep.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/SetCountedAmount.js
---