Openbravo Issue Tracking System - POS2
View Issue Details
0052637POS2POSpublic2023-06-01 12:442023-07-24 12:16
ebecerra 
ruben_jimenez 
normalmajorhave not tried
closedfixed 
5
 
 
No
0052637: Canceled payments are not shown when doing a Cancel and Replace of a order with prepayment done by different payment methods
- Create a ticket and prepay it with Cash and Card
- Open the ticket and do a Cancel and Replace
- Add a new products and complete the prepayment part with Cash
- When pay button is pressed a payment with cash is shown refering to the previous 2 payments done. This is wrong. Here as it happens in enyoPOS a payment line saying "Cancelled" should be shown. (see attached "unamed.png")
In the BO:
  - Configure the store to allow prepayments (50%)

In the POS:

1. Create a ticket, select a customer and prepaid with Cash and Card (Ticket-1.png)
   - Add "Avalanche transceiver"
   - Select a customer and delivery mode of "Pickup in store"
   - Add payments (Cash: 50.00 and Card 25.25) at "Prepayment" part
   - Complete the ticket

2. Check that ticket payments are OK (Ticket-1-Payment.png)

3. Open the ticket and do a "Cancel and Replace Order" (CancelReplace.png)
   - Open ticket (created at step 1)
   - Do a "Cancel and Replace Order"
   - Add "Headlamp ultralight"
   - Press Pay
   - See that previous payments are grouped in cash (this is wrong). The canceled one should be shown (see attached "unamed.png")

No tags attached.
png Ticket-1.png (91,153) 2023-06-01 12:44
https://issues.openbravo.com/file_download.php?file_id=18609&type=bug
png

png Ticket-1-Payment.png (94,844) 2023-06-01 12:45
https://issues.openbravo.com/file_download.php?file_id=18610&type=bug
png

png CancelReplace.png (99,263) 2023-06-01 12:45
https://issues.openbravo.com/file_download.php?file_id=18611&type=bug
png

png PayBalance.png (99,228) 2023-06-01 12:46
https://issues.openbravo.com/file_download.php?file_id=18613&type=bug
png

png unnamed.png (269,708) 2023-06-23 08:49
https://issues.openbravo.com/file_download.php?file_id=18689&type=bug
Issue History
2023-06-01 12:44ebecerraNew Issue
2023-06-01 12:44ebecerraAssigned To => Retail
2023-06-01 12:44ebecerraFile Added: Ticket-1.png
2023-06-01 12:44ebecerraTriggers an Emergency Pack => No
2023-06-01 12:45ebecerraFile Added: Ticket-1-Payment.png
2023-06-01 12:45ebecerraFile Added: CancelReplace.png
2023-06-01 12:46ebecerraFile Added: CancelReplace-Payment.png
2023-06-01 12:46ebecerraFile Added: PayBalance.png
2023-06-23 08:45guilleaerSummaryWhen doing a Cancel and Replace an order with prepayment with different payment methods have errors => Canceled payments are not shown when doing a Cancel and Replace of a order with prepayment done by different payment methods
2023-06-23 08:45guilleaerDescription Updatedbug_revision_view_page.php?rev_id=26343#r26343
2023-06-23 08:45guilleaerSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26345#r26345
2023-06-23 08:49guilleaerFile Added: unnamed.png
2023-06-23 08:49guilleaerFile Deleted: CancelReplace-Payment.png
2023-06-23 08:50guilleaerDescription Updatedbug_revision_view_page.php?rev_id=26346#r26346
2023-06-23 08:50guilleaerSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26347#r26347
2023-06-29 13:23hgbotNote Added: 0151836
2023-06-30 10:16ruben_jimenezStatusnew => scheduled
2023-07-03 12:03hgbotNote Added: 0152042
2023-07-11 20:56hgbotResolutionopen => fixed
2023-07-11 20:56hgbotStatusscheduled => resolved
2023-07-11 20:56hgbotNote Added: 0152350
2023-07-11 20:56hgbotFixed in Version => RR23Q4
2023-07-11 20:56hgbotNote Added: 0152351
2023-07-18 08:09hgbotNote Added: 0152580
2023-07-24 12:11guillermogilAssigned ToRetail => ruben_jimenez
2023-07-24 12:16mtaalStatusresolved => closed
2023-07-24 12:16mtaalFixed in VersionRR23Q4 =>

Notes
(0151836)
hgbot   
2023-06-29 13:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1934 [^]
(0152042)
hgbot   
2023-07-03 12:03   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1264 [^]
(0152350)
hgbot   
2023-07-11 20:56   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1264 [^]
(0152351)
hgbot   
2023-07-11 20:56   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c2d5cc62385c3f0c8d81951ee49cbc492bd3879e
Author: Ruben Jimenez <ruben.jimenez@openbravo.com>
Date: 11-07-2023 18:56:26
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c2d5cc62385c3f0c8d81951ee49cbc492bd3879e [^]

Fixed ISSUE-52637: Use cancelled payment name for when multiple payments are passed on from the cancelled ticket in case of cancel and replace

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---
(0152580)
hgbot   
2023-07-18 08:09   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1934 [^]