Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0047280 | Retail Modules | Web POS | public | 2021-06-29 13:58 | 2021-08-11 11:29 | |||||||
Reporter | maite | |||||||||||
Assigned To | rqueralta | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | Gold | |||||||||||
Support ticket | 24615 | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0047280: Change Payments info wrongly calculated | |||||||||||
Description | Payment related to a ticket of a total 0 is considered as "change payment". However, when a product of lower price is added and paid in SCO mode, the change payments section is still calculated with the original's product price (instead of the real change amount) | |||||||||||
Steps To Reproduce | 1. Add any product to the ticket, for example with price 8.95 2. Add payment in Cash 3. Delete line, so the ticket's total is 0 but the payment is still there in ChangePayments section (OB.MobileApp.model.receipt.attributes.changePayments) with amount of 8.95 4. Go to SCO mode 5. Add another product with price 0.16. Pay the ticket in SCO and finish. The ticket will be paid with the payment of 8.95 already existent. But check the JSON and realize that "changePayments" section is calculated as 8.95 (when it should be 8.79) However, if you repeat steps 4 and 5 in normal mode (not SCO mode) and checks the JSON you can see that "changePayments" section is correctly calculated as 8.79 | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=16053&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2021-06-29 13:58 | maite | New Issue | ||||||||||
2021-06-29 13:58 | maite | Assigned To | => Retail | |||||||||
2021-06-29 13:58 | maite | OBNetwork customer | => Gold | |||||||||
2021-06-29 13:58 | maite | Support ticket | => 24615 | |||||||||
2021-06-29 13:58 | maite | Resolution time | => 1626732000 | |||||||||
2021-06-29 13:58 | maite | Triggers an Emergency Pack | => No | |||||||||
2021-06-29 14:02 | maite | Relationship added | related to 0046862 | |||||||||
2021-07-07 17:48 | rqueralta | Assigned To | Retail => rqueralta | |||||||||
2021-07-07 17:48 | rqueralta | Status | new => scheduled | |||||||||
2021-07-23 12:47 | adrianromero | Status | scheduled => resolved | |||||||||
2021-07-23 12:47 | adrianromero | Resolution | open => fixed | |||||||||
2021-07-23 17:12 | rqueralta | File Added: 0001-Fixed-BUG-47280-Recalculated-Change-Payments-info-wr.patch | ||||||||||
2021-07-31 09:39 | rqueralta | File Deleted: 0001-Fixed-BUG-47280-Recalculated-Change-Payments-info-wr.patch | ||||||||||
2021-07-31 09:39 | rqueralta | File Added: 0001-Fixed-BUG-47280-Recalculated-Change-Payments-info-wr.patch | ||||||||||
2021-08-11 11:29 | marvintm | Review Assigned To | => marvintm | |||||||||
2021-08-11 11:29 | marvintm | Note Added: 0131060 | ||||||||||
2021-08-11 11:29 | marvintm | Status | resolved => closed |
Notes | |||||
|
|||||
|
|