Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046999Retail ModulesWeb POSpublic2021-06-03 16:112021-06-18 17:50
psanjuan 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
RR20Q4.5 
Production - Confirmed Stable
2021-04-13
RR20Q3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/4ae14c816476826e373a41181ce9748862ba7f24 [^]
No
0046999: It is not possible to return a product/voucher gift card
It is not possible to return a product/voucher gift card
Configure a "product" gift card as described in the wiki below in Livebuilds (Retail with modules).

http://wiki.openbravo.com/wiki/Retail:Gift_Cards/Product_Gift_Cards_and_Gift_Vouchers#Returning_gift_cards_and_gift_vouchers [^]

Create a Sales order and include the Product Gift Card just created.
In the pop-up fill in the Gift Card owner, id, Initial balance and description. Press Apply.
Complete the sale and pay it in cash.

Go to the Openbravo backoffice, and verify that a new record has been created in the Gift Card Instance window.

Now go back to Openbravo Web POS.
As described in the wiki, use the menu option "Return this Receipt" to create a return. After that select the menu option "Gift/Credit Note" menu option.
Verify that the product gift card just created is shown in there with the initial balance.

Select it, and press on Return. A message is shown saying "Error Gift Card/voucher can be returned only on sales receipt"
See "Error1_46981" image attached.

Cancel that and delete the current receipt.

Create a normal sale, select the menu option "Gift/Credit Note" menu option.
Select the product gift card just created.

Once shown, press on Return button. Verify that nothing happens.
See "Error2_46981" image attached.

No tags attached.
blocks defect 0046981 closed ranjith_qualiantech_com It is not possible to return a product/voucher gift card 
Issue History
2021-06-07 10:40marvintmTypedefect => backport
2021-06-07 10:40marvintmTarget Version => RR20Q4.5
2021-06-14 03:43hgbotNote Added: 0129429
2021-06-14 07:13hgbotNote Added: 0129434
2021-06-14 07:13hgbotResolutionopen => fixed
2021-06-14 07:13hgbotStatusscheduled => closed
2021-06-14 07:13hgbotNote Added: 0129435
2021-06-18 17:50psanjuanNote Added: 0129658

Notes
(0129429)
hgbot   
2021-06-14 03:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/71 [^]
(0129434)
hgbot   
2021-06-14 07:13   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/71 [^]
(0129435)
hgbot   
2021-06-14 07:13   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: f002d0f1f11ee724ac9dcd4a384513d8fd334d56
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-06-14T07:10:48+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/f002d0f1f11ee724ac9dcd4a384513d8fd334d56 [^]

Fixed ISSUE-46999: Updated validation of receipt orderType when returning the gift card
* Gift Card should be returned only on sales receipt

---
M web/org.openbravo.retail.giftcards/js/components/GiftCardDetails.js
---
(0129658)
psanjuan   
2021-06-18 17:50   
Please review http://wiki.openbravo.com/wiki/Retail:Gift_Cards/Product_Gift_Cards_and_Gift_Vouchers#Returning_gift_cards_and_gift_vouchers [^]

as it seems it is described in there that gift card returns must be made in a return order.