Openbravo Issue Tracking System - POS2
View Issue Details
0057407POS2POSpublic2024-12-10 10:572025-02-18 06:52
jmassy 
fofarril 
normalminorhave not tried
closedfixed 
5
 
 
No
0057407: Two canceled receipt are printer when a cancel and replace is done after a full invoice
Two canceled receipt are printer when a cancel and replace is done after a full invoice
BO configuration :

In window ‘Channel - Touchpoint Type’, define:
'Generate Simplified Invoices' = N
'Show Document Delivery methods' = Y
'Print' = Y
'Email' = Y
'Can Select More Than One Option' = Y

to reproduce :
step :
1 - Finalize a sale with:
A customer assigned
One product in quantity 1
No issue invoice for the sale

2 - Finalize a cancel and replace order that modifies the previous sale with:
Another customer assigned
Several products with different quantities
Issue invoice for the sale and select an invoicing address
In the delivery pop-up, select 'Print + Email'

expected result : 1 full invoice ticket and 1 canceled receipt ticket are printed for the sale

what we really have :
on the printer
4 tickets are printed :
A Sales reciept
A canceld Reciept
A Full Invoice
Another canceled Reciept

No tags attached.
png 2 canceled receipt.png (258,785) 2024-12-10 10:57
https://issues.openbravo.com/file_download.php?file_id=20621&type=bug
png
Issue History
2024-12-10 10:57jmassyNew Issue
2024-12-10 10:57jmassyAssigned To => Retail
2024-12-10 10:57jmassyFile Added: 2 canceled receipt.png
2024-12-10 10:57jmassyTriggers an Emergency Pack => No
2024-12-10 11:00jmassyNote Added: 0173128
2025-01-26 11:26guillermogilAssigned ToRetail => jorgewederago
2025-01-28 11:11jorgewederagoAssigned Tojorgewederago => fofarril
2025-01-30 14:26fofarrilStatusnew => scheduled
2025-01-30 19:44hgbotNote Added: 0174928
2025-02-18 06:52hgbotResolutionopen => fixed
2025-02-18 06:52hgbotStatusscheduled => closed
2025-02-18 06:52hgbotNote Added: 0175783
2025-02-18 06:52hgbotFixed in Version => RR25Q2
2025-02-18 06:52hgbotNote Added: 0175784

Notes
(0173128)
jmassy   
2024-12-10 11:00   
MLink to the Jira :
https://openbravo.atlassian.net/browse/RM-19701 [^]
(0174928)
hgbot   
2025-01-30 19:44   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1900 [^]
(0175783)
hgbot   
2025-02-18 06:52   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1900 [^]
(0175784)
hgbot   
2025-02-18 06:52   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 5192a34984c400dce7e50d9f2405d21d6876ab6b
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 18-02-2025 05:52:28
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/5192a34984c400dce7e50d9f2405d21d6876ab6b [^]

Fixes ISSUE-57407: Two canceled receipt are printer when a cancel and replace...

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/ReplaceTicket.js
---