Openbravo Issue Tracking System - Retail Modules
View Issue Details
0053593Retail ModulesGift cards and gift voucherspublic2023-10-04 15:062023-10-12 09:08
igor_trebol 
sreehari 
normalminoralways
scheduledopen 
5
 
 
No
0053593: Pre-configured giftcards as payment method do not have order/payment links
When buying something with a gift card as payment method (with the payment methods pre-configured), in the Gift Card Instance window, Gift Card transaction tab, it does not generate the links to order and payment (image 1).

This happens because the payment method pre-configured (image 2) has "GCNV_payment.groupedcreditnote" as Key, and that option is not taken into account in "GiftCardHookUtils.java" lines 52-58 (image 3).

This regression was introduced after 20Q3, as in that release, everything works as expected.
1. Create a Gift Card product to be used as payment (Image 4)
2. Sell an instance of that gift card.
3. Buy any product, paying it with a gift card (using the button in image 2).
4. Go to Gift Card Instance, Gift card transaction, the links are not there.
No tags attached.
has duplicate defect 0053751 scheduled sreehari POS2 The Gift Certificate payment method is utilized, even if the Gift Card payment method has been applied 
png Image1.png (88,500) 2023-10-04 15:08
https://issues.openbravo.com/file_download.php?file_id=19012&type=bug
png

png Image 2.png (127,782) 2023-10-04 15:08
https://issues.openbravo.com/file_download.php?file_id=19013&type=bug
png

png Image 3.png (197,349) 2023-10-04 15:08
https://issues.openbravo.com/file_download.php?file_id=19014&type=bug
png

png Image 4.png (138,342) 2023-10-04 15:08
https://issues.openbravo.com/file_download.php?file_id=19015&type=bug
png
Issue History
2023-10-04 15:06igor_trebolNew Issue
2023-10-04 15:06igor_trebolAssigned To => Retail
2023-10-04 15:06igor_trebolFile Added: Images.zip
2023-10-04 15:06igor_trebolTriggers an Emergency Pack => No
2023-10-04 15:08igor_trebolFile Added: Image1.png
2023-10-04 15:08igor_trebolFile Deleted: Images.zip
2023-10-04 15:08igor_trebolFile Added: Image 2.png
2023-10-04 15:08igor_trebolFile Added: Image 3.png
2023-10-04 15:08igor_trebolFile Added: Image 4.png
2023-10-05 08:38sreehariAssigned ToRetail => sreehari
2023-10-09 07:35sreehariStatusnew => scheduled
2023-10-12 09:08hgbotNote Added: 0155802
2024-01-02 12:21sreehariRelationship addedhas duplicate 0053751

Notes
(0155802)
hgbot   
2023-10-12 09:08   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/269 [^]