Openbravo Issue Tracking System - POS2
View Issue Details
0056466POS2POSpublic2024-09-16 16:292024-10-01 14:15
philippe_mui 
sreehari 
highmajoralways
closedfixed 
5
 
 
2024-09-27
pi
https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2906/diffs?commit_id=6900839273b35e6cd220162568c153889b555a93#3a2519a1877f9d2f340908e3d6aedde208ed061f_98_96 [^]
No
0056466: RM-16700 [SALES] The sales order ticket is not attached to the email when a credit note or gift card is used as payment
Current result :
The sales order ticket is not attached to the email when a credit note or gift card is used as payment


Expected result :
The sales order ticket should be attached to the email when a credit note or gift card is used as payment


https://openbravo.atlassian.net/browse/RM-16700 [^]
Log in POS
Add products to the cart
Click PAY
Select Credit Note/Gift Card as payment. The total amount of the cart must be less than the value of the Credit Note/Gift Card
Click DONE
Email the ticket

→ Only the ticket with the remain amount is attached to the mail

The printed ticket is OK
FASH
depends on backport 005657624Q3.2 closed sreehari RM-16700 [SALES] The sales order ticket is not attached to the email when a credit note or gift card is used as payment 
depends on backport 005657724Q2.4 closed sreehari RM-16700 [SALES] The sales order ticket is not attached to the email when a credit note or gift card is used as payment 
depends on backport 005658024Q4 closed sreehari RM-16700 [SALES] The sales order ticket is not attached to the email when a credit note or gift card is used as payment 
has duplicate defect 0056393 closed sreehari It is not possible to send OTF coupon by email 
png email.png (194,518) 2024-09-27 12:34
https://issues.openbravo.com/file_download.php?file_id=20197&type=bug
png
Issue History
2024-09-16 16:29philippe_muiNew Issue
2024-09-16 16:29philippe_muiAssigned To => Retail
2024-09-16 16:29philippe_muiTriggers an Emergency Pack => No
2024-09-16 16:29philippe_muiTag Attached: FASH
2024-09-20 10:09sreehariAssigned ToRetail => sreehari
2024-09-20 10:09sreehariStatusnew => scheduled
2024-09-20 10:27jorgewederagoNote Added: 0169419
2024-09-20 10:27jorgewederagoStatusscheduled => closed
2024-09-20 10:27jorgewederagoResolutionopen => invalid
2024-09-20 14:49sreehariRelationship addedhas duplicate 0056393
2024-09-27 12:28sreehariNote Added: 0169686
2024-09-27 12:28sreehariStatusclosed => new
2024-09-27 12:28sreehariResolutioninvalid => open
2024-09-27 12:33sreehariFile Added: Screenshot 2024-09-27 at 4.02.04 PM.png
2024-09-27 12:33sreehariFile Deleted: Screenshot 2024-09-27 at 4.02.04 PM.png
2024-09-27 12:34sreehariFile Added: email.png
2024-09-27 12:34sreehariNote Edited: 0169686bug_revision_view_page.php?bugnote_id=0169686#r28513
2024-09-27 12:36sreehariRegression date => 2024-09-27
2024-09-27 12:36sreehariRegression introduced in release => pi
2024-09-27 12:36sreehariRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2906/diffs?commit_id=6900839273b35e6cd220162568c153889b555a93#3a2519a1877f9d2f340908e3d6aedde208ed061f_98_96 [^]
2024-09-27 12:37sreehariStatusnew => scheduled
2024-09-30 07:15sreehariStatusscheduled => acknowledged
2024-09-30 07:16sreehariStatusacknowledged => scheduled
2024-09-30 08:19sreehariStatusscheduled => acknowledged
2024-09-30 08:19sreehariStatusacknowledged => scheduled
2024-09-30 10:06hgbotNote Added: 0169753
2024-10-01 11:52sreehariNote Edited: 0169686bug_revision_view_page.php?bugnote_id=0169686#r28518
2024-10-01 14:15hgbotResolutionopen => fixed
2024-10-01 14:15hgbotStatusscheduled => closed
2024-10-01 14:15hgbotNote Added: 0169841
2024-10-01 14:15hgbotNote Added: 0169842

Notes
(0169419)
jorgewederago   
2024-09-20 10:27   
It is not reproducible in master
(0169686)
sreehari   
2024-09-27 12:28   
(edited on: 2024-10-01 11:52)
The issue reproduced is the email received with 2 attachments where the Ticket data has been overridden by the Gift Card data.

Check Screenshot attached i.e.,email.png

Note:Duplicate is filtered in Gmail Domain, I tested in custom domain for duplicates.

(0169753)
hgbot   
2024-09-30 10:06   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/379 [^]
(0169841)
hgbot   
2024-10-01 14:15   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 814e85fd93a31ccf4412e567aa6d2c18398ebf01
Author: Sreehari Venkataraman <s.venkataraman@external.orisha.com>
Date: 01-10-2024 12:15:29
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/814e85fd93a31ccf4412e567aa6d2c18398ebf01 [^]

Fixes ISSUE-56466: Removed ticket object from deliverParams

---
M web-jspack/org.openbravo.retail.giftcards/src/model/messages/MessagesUtils.js
M web-jspack/org.openbravo.retail.giftcards/src/model/messages/__test__/MessagesUtils.test.js
---
(0169842)
hgbot   
2024-10-01 14:15   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/379 [^]