Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049770Retail ModulesWeb POSpublic2022-07-08 14:342022-08-02 10:15
jose_duque 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
 
marvintm
No
0049770: Cancel and replace ticket not displaying in pay open tickets
Currently when we are in a cancel and replace ticket and we create a new receipt and we pay open tickets both tickets will be displayed.

This happens only if we are in the cancel and replace ticket. If we are in the new ticket, the cancel and replace ticket doesn't display in the pay open tickets dialog.
1. Create a Layaway
2. Add a product
3. Pay the Layaway completely
4. Open the Layaway (that just became a sales order because it was paid)
5. Do a cancel and replace
6. Modify one line (optional)
7. Create a new receipt without finishing the cancel and replace ticket
8. Switch to the new receipt
9. Try to pay open tickets, you will see that the cancel and replace ticket is not displayed.

If we are in the cancel and replace ticket and try to pay open tickets we will have both the cancel and replace ticket as well as the newly created ticket.
No tags attached.
related to defect 0040418 closed jorge-garcia Retail Modules [RR19Q1] [OMNI] Incorrect error message is shown when reopening a partially paid ticket with an attempted Cancel and Replace 
related to defect 0050016 closed Triage Omni OMS Modules Error when paying a cancel and replace with another ticket using pay open tickets 
patch 0001-Fixed-BUG-49770-Fixed-problems-related-with-vars-ref.patch (1,678) 2022-07-18 22:20
https://issues.openbravo.com/file_download.php?file_id=17321&type=bug
png till_desynchronised.png (1,000,409) 2022-07-25 14:41
https://issues.openbravo.com/file_download.php?file_id=17337&type=bug
diff 49770_20Q3_posterminal.diff (955) 2022-08-02 08:28
https://issues.openbravo.com/file_download.php?file_id=17362&type=bug
Issue History
2022-07-08 14:34jose_duqueNew Issue
2022-07-08 14:34jose_duqueAssigned To => jose_duque
2022-07-08 14:34jose_duqueTriggers an Emergency Pack => No
2022-07-08 14:34jose_duqueIssue generated from0048104
2022-07-12 15:01aaroncaleroAssigned Tojose_duque => rqueralta
2022-07-18 22:13rqueraltaStatusnew => scheduled
2022-07-18 22:20rqueraltaFile Added: 0001-Fixed-BUG-49770-Fixed-problems-related-with-vars-ref.patch
2022-07-25 10:05marvintmStatusscheduled => acknowledged
2022-07-25 10:05marvintmStatusacknowledged => scheduled
2022-07-25 10:07marvintmReview Assigned To => marvintm
2022-07-25 10:07marvintmNote Added: 0139591
2022-07-25 10:07marvintmStatusscheduled => closed
2022-07-25 10:07marvintmResolutionopen => no change required
2022-07-25 14:40jose_duqueNote Added: 0139596
2022-07-25 14:40jose_duqueStatusclosed => new
2022-07-25 14:40jose_duqueResolutionno change required => open
2022-07-25 14:41jose_duqueFile Added: till_desynchronised.png
2022-08-01 06:45marvintmStatusnew => scheduled
2022-08-01 06:45marvintmAssigned Torqueralta => ranjith_qualiantech_com
2022-08-02 07:12ranjith_qualiantech_comRelationship addedrelated to 0040418
2022-08-02 08:28ranjith_qualiantech_comFile Added: 49770_20Q3_posterminal.diff
2022-08-02 10:15marvintmNote Added: 0139803
2022-08-02 10:15marvintmStatusscheduled => resolved
2022-08-02 10:15marvintmResolutionopen => fixed
2022-08-02 10:15marvintmStatusresolved => closed
2022-08-19 16:02jose_duqueRelationship addedrelated to 0050016

Notes
(0139591)
marvintm   
2022-07-25 10:07   
This works correctly in master. We have attached a fix for 20Q3 release.
(0139596)
jose_duque   
2022-07-25 14:40   
@marvintm @rqueralta we applied the patch but there is still an issue with the version 20Q3.

The ticket appears as expected with the patch but we can't complete payment of these open tickets.

The till becomes desynchronized and to return to a normal state we have to free the cache.

Steps to reproduce:
1. Create an layaway with 2 products
2. Pay it
3. Open this layaway again
4. Cancel and replace
5. remove one line
6. Open a new receipt and add product
7. click on pay open ticket
8. select the 2 ticket
9. pay both tickets

I added a screenshot of what we have.
(0139803)
marvintm   
2022-08-02 10:15   
Attached new patch for 20Q3