Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051951Retail ModulesWeb POSpublic2023-03-23 11:242023-05-10 07:07
niketanrai 
sreehari 
highmajoralways
closedfixed 
5
 
 
No
0051951: Error while completing receipt with gift card as payment method
Getting error while completing the receipt with gift card as a payment method when Gift Card Reason/Type is not defined for the transaction org
1. Create a gift card product and set Gift Card as the payment method.
2. Create a receipt, add the configured gift card, and complete the receipt.
3. Create another receipt and add any product to that receipt and use the gift card bought in step 4.
4. Try completing the receipt, an error occurs as shown in the screenshot.
No tags attached.
png Error.png (285,462) 2023-03-23 11:24
https://issues.openbravo.com/file_download.php?file_id=18300&type=bug
Issue History
2023-03-23 11:24niketanraiNew Issue
2023-03-23 11:24niketanraiAssigned To => Retail
2023-03-23 11:24niketanraiFile Added: Error.png
2023-03-23 11:24niketanraiTriggers an Emergency Pack => No
2023-03-23 11:25ranjith_qualiantech_comAssigned ToRetail => radhakrishnan
2023-03-24 14:02radhakrishnanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25763#r25763
2023-03-28 07:50radhakrishnanStatusnew => scheduled
2023-04-27 13:16radhakrishnanAssigned Toradhakrishnan => sreehari
2023-05-04 12:52hgbotNote Added: 0149297
2023-05-10 07:07hgbotResolutionopen => fixed
2023-05-10 07:07hgbotStatusscheduled => closed
2023-05-10 07:07hgbotNote Added: 0149525
2023-05-10 07:07hgbotNote Added: 0149526

Notes
(0149297)
hgbot   
2023-05-04 12:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/220 [^]
(0149525)
hgbot   
2023-05-10 07:07   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 17c5e594fdbeac94ff17ba47b9de7ae047ea56d4
Author: Sreehari Venkataraman <sreehari@qualiantech.com>
Date: 10-05-2023 05:07:45
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/17c5e594fdbeac94ff17ba47b9de7ae047ea56d4 [^]

Fixes ISSUE-51951: Added ReasonType validation when printing gift card

---
M web/org.openbravo.retail.giftcards/js/hooks/printGiftCardPrePrintHook.js
---
(0149526)
hgbot   
2023-05-10 07:07   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/220 [^]