Openbravo Issue Tracking System - POS2
View Issue Details
0053158POS2POSpublic2023-08-03 18:432023-08-14 11:36
lmonreal 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
23Q4 
merged
No
No
0053158: Count amount incorrect in cash up if during open till there is a difference and user enters 0
If there is a diference during the open till process and the user enters 0, POS calculates wrongly the difference and the amount in the till is not correct.
If you do cash up later the expected amount is not correct.

Video: https://drive.google.com/file/d/11DCFLSAMu85OkPN26jtOHtUmUo50GlDv/view?usp=sharing [^]


1. Open a till with 0 euros
2. Do a sale of 10 euros
3. Do cash up
   ->Match expected amount to 10 euros
   -> Keep the 10 euros on the till for the next session

4. Open the till again, expected amount is 10 but add 0
5. In Cash Management check the amount available, it says 20 (?)
6. If you do cash up the expected amount is 20 (?)

https://drive.google.com/file/d/11DCFLSAMu85OkPN26jtOHtUmUo50GlDv/view?usp=sharing [^]


If you do the same testing but adding 4 euros in step 4 you will see that in this case the calculations are done correctly.

It seems the difference is handled as a deposit instead of a withdrawal

No tags attached.
png KO.png (86,823) 2023-08-03 18:44
https://issues.openbravo.com/file_download.php?file_id=18840&type=bug
png

png Example OK.png (62,743) 2023-08-03 18:44
https://issues.openbravo.com/file_download.php?file_id=18841&type=bug
png
Issue History
2023-08-03 18:43lmonrealNew Issue
2023-08-03 18:43lmonrealAssigned To => Retail
2023-08-03 18:43lmonrealOBNetwork customer => No
2023-08-03 18:43lmonrealTriggers an Emergency Pack => No
2023-08-03 18:44lmonrealFile Added: KO.png
2023-08-03 18:44lmonrealFile Added: Example OK.png
2023-08-03 18:46lmonrealIssue Monitored: alfonso_alcalde
2023-08-04 10:10ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-08-04 10:10ranjith_qualiantech_comStatusnew => scheduled
2023-08-07 06:41hgbotMerge Request Status => open
2023-08-07 06:41hgbotNote Added: 0153262
2023-08-14 09:01hgbotResolutionopen => fixed
2023-08-14 09:01hgbotStatusscheduled => resolved
2023-08-14 09:01hgbotMerge Request Statusopen => merged
2023-08-14 09:01hgbotNote Added: 0153470
2023-08-14 09:01hgbotFixed in Version => 23Q4
2023-08-14 09:01hgbotNote Added: 0153471
2023-08-14 11:36ranjith_qualiantech_comStatusresolved => closed

Notes
(0153262)
hgbot   
2023-08-07 06:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2000 [^]
(0153470)
hgbot   
2023-08-14 09:01   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2000 [^]
(0153471)
hgbot   
2023-08-14 09:01   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 525dff4734c88a29f0fdfde20dd77254e6a10f0f
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 11-08-2023 13:29:32
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/525dff4734c88a29f0fdfde20dd77254e6a10f0f [^]

Fixed ISSUE-53158: PaymentMethod should be loaded with Count difference

---
M web-jspack/org.openbravo.pos2/src-test/cypress/functions/countMoney.js
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/CountDisplay/CountDisplay.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/CountDisplay/__test__/CountDisplay.test.jsx
M web-jspack/org.openbravo.pos2/src/model/user-interface/__test__/OpenInitialCount.test.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/OpenInitialCount.js
M web-jspack/org.openbravo.pos2/src/model/user-interface/user-actions/initialCount/__test__/OpenInitialCount.test.js
---