Openbravo Issue Tracking System - POS2
View Issue Details
0057826POS2POSpublic2025-01-31 14:352025-02-18 06:53
fofarril 
fofarril 
normalmajorhave not tried
closedfixed 
5
 
24Q4 
No
0057826: After a Cancel and Replace the cancel receipt is missing in the mail
After a Cancel and Replace the cancel receipt is missing in the mail
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 :

1 - In POS
Finalize a sale with:
No customer assigned
One product in quantity 1
No issue invoice for the sale

2 - Login in POS with a correct user on the channel touchpoint
Finalize a cancel and replace order that modifies the previous sale with:
No customer assigned
Several products with different quantities
No issue invoice for the sale
In the delivery pop-up, select 'Print + Email'

3 - Check the mail received

expected result :
1 sales receipt and 1 canceled receipt ticket are received for the sale in joined file of an email with a subject and an HTML body

What we really have :
The Canceled receipt hasn't been sent in the mail
No tags attached.
depends on defect 0057413 closed fofarril After a Cancel and Replace the cancel receipt is missing in the mail 
Issue History
2025-01-31 14:35fofarrilNew Issue
2025-01-31 14:35fofarrilAssigned To => fofarril
2025-01-31 14:35fofarrilTriggers an Emergency Pack => No
2025-01-31 14:36fofarrilRelationship addeddepends on 0057413
2025-01-31 14:37fofarrilStatusnew => scheduled
2025-01-31 14:46hgbotNote Added: 0174971
2025-02-18 06:53hgbotNote Added: 0175787
2025-02-18 06:53hgbotResolutionopen => fixed
2025-02-18 06:53hgbotStatusscheduled => closed
2025-02-18 06:53hgbotFixed in Version => RR24Q4.1
2025-02-18 06:53hgbotNote Added: 0175788

Notes
(0174971)
hgbot   
2025-01-31 14:46   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1901 [^]
(0175787)
hgbot   
2025-02-18 06:53   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1901 [^]
(0175788)
hgbot   
2025-02-18 06:53   
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: baf88b38ea45081af3d0df08f07baed05d4ee53d
Author: Francisco Javier <francisco.ofarril@doceleguas.com>
Date: 18-02-2025 02:34:58
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/baf88b38ea45081af3d0df08f07baed05d4ee53d [^]

Fixes ISSUE-57826: After a Cancel and Replace the cancel receipt is missing in the mail

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