Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046997Retail ModulesWeb POSpublic2021-06-03 16:112021-06-14 07:13
psanjuan 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
RR21Q2.1 
Production - Confirmed Stable
2021-04-13
RR20Q3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/4ae14c816476826e373a41181ce9748862ba7f24 [^]
No
0046997: 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 => RR21Q2.1
2021-06-14 03:43hgbotNote Added: 0129427
2021-06-14 07:13hgbotResolutionopen => fixed
2021-06-14 07:13hgbotStatusscheduled => closed
2021-06-14 07:13hgbotNote Added: 0129432
2021-06-14 07:13hgbotNote Added: 0129433

Notes
(0129427)
hgbot   
2021-06-14 03:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/69 [^]
(0129432)
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: 13c0a3798f6218d17cfe46e85e3545695f0ba149
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-06-14T07:10:33+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/13c0a3798f6218d17cfe46e85e3545695f0ba149 [^]

Fixed ISSUE-46997: 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
---
(0129433)
hgbot   
2021-06-14 07:13   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/69 [^]