Openbravo Issue Tracking System - POS2
View Issue Details
0053237POS2POSpublic2023-08-18 11:422023-12-20 16:27
Daria_Sh 
Rajesh_18 
normalminorhave not tried
closedfixed 
5
 
 
No
0053237: VBS Customer is displayed as Gift Card Owner if create Gift Certificate with specified Customer
If create a Gift Certificate with Arturo Montoro Customer, VBS Customer displays as a Gift Card Owner in the 'Gift Card Instance' window

Go to Backoffice:
- Username: Openbravo
- Password: openbravo
Navigate to the 'Gift Cards Reason/Type' window
Open the 'Commercial' Reason by clicking on it
Tick the 'Has Owner' checkbox
Save the changes
1.Log in to POS2:
-username: vallblanca
-password: openbravo
2.Go to Main menu -> Restaurant -> Gift Cards / Credit Notes / Gift Certificates
3.Click the 'Create Gift Certificate' button
4.Enter the following values:
- Gift Card Category: Commercial
- Customer: Arturo Montoro
- Expiration Date: A date in the future
- Amount: 50
Push 'Create' button
5.Go to Backoffice -> 'Gift Card Instance' window
6.Open created Gift Certificate

Actual Result: VBS Customer is displayed as Gift Card Owner if create Gift Certificate with Arturo Montoro Customer

Expected Result: Arturo Montoro is displayed as a Gift Card Owner if create Gift Certificate with Arturo Montoro Customer
No tags attached.
has duplicate defect 0053933 closed Rajesh_18 Scan Gift card doesn't link the customer 
related to defect 0053275 closed Rajesh_18 'There was an error loading the form data' error is shown when open Gift Card info 
blocks defect 0053271 scheduled Rajesh_18 Payment Transaction Error is shown if pay Order by Gift Card that has defined Owner 
jpg 444.jpg (122,243) 2023-08-18 11:42
https://issues.openbravo.com/file_download.php?file_id=18882&type=bug
jpg
Issue History
2023-08-18 11:42Daria_ShNew Issue
2023-08-18 11:42Daria_ShAssigned To => Retail
2023-08-18 11:42Daria_ShFile Added: 444.jpg
2023-08-18 11:42Daria_ShTriggers an Emergency Pack => No
2023-08-31 13:12Rajesh_18Assigned ToRetail => Rajesh_18
2023-08-31 13:12Rajesh_18Statusnew => scheduled
2023-09-04 11:00Rajesh_18Relationship addedblocks 0053271
2023-09-04 13:40hgbotNote Added: 0154407
2023-09-11 06:45Rajesh_18Relationship addedrelated to 0053275
2023-11-28 08:07hgbotNote Added: 0157721
2023-11-28 08:07hgbotResolutionopen => fixed
2023-11-28 08:07hgbotStatusscheduled => closed
2023-11-28 08:07hgbotNote Added: 0157722
2023-11-28 14:54hgbotNote Added: 0157763
2023-12-14 10:01Rajesh_18Statusclosed => new
2023-12-14 10:01Rajesh_18Resolutionfixed => open
2023-12-14 10:01Rajesh_18Statusnew => scheduled
2023-12-14 10:01hgbotNote Added: 0158191
2023-12-19 14:59Rajesh_18Relationship addedrelated to 0053933
2023-12-19 15:00Rajesh_18Relationship deletedrelated to 0053933
2023-12-19 15:00Rajesh_18Relationship addedblocks 0053933
2023-12-20 16:27hgbotNote Added: 0158428
2023-12-20 16:27hgbotResolutionopen => fixed
2023-12-20 16:27hgbotStatusscheduled => closed
2023-12-20 16:27hgbotNote Added: 0158429
2023-12-20 16:30marvintmRelationship replacedhas duplicate 0053933

Notes
(0154407)
hgbot   
2023-09-04 13:40   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/261 [^]
(0157721)
hgbot   
2023-11-28 08:07   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/261 [^]
(0157722)
hgbot   
2023-11-28 08:07   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 5ca2e44a0eaa7fc3f6faab7696dcfc2ce28ea23e
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 28-11-2023 07:05:11
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/5ca2e44a0eaa7fc3f6faab7696dcfc2ce28ea23e [^]

Fixes ISSUE-53237: Gift Card Owner is shown correctly if created with specified Customer
* While creating gift card instance from product, Bp is assiged from Ticket Bp and Gift card owner is assinged from Gift card owner field.
* while creating Gift card instance from Gift Certificate Creation, Both BP and Gift card owner is assigned from Customer field.
* Also fixed customer field and businessPartnerCRMReference while sending request to Back office.

---
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardDialog/GiftCardDialog.jsx
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardSale/GiftCardSale.jsx
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/actions/CreateGiftCardCertificate.js
---
(0157763)
hgbot   
2023-11-28 14:54   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 8537ad6182d872dad056253319b3eda39e7696f6
Author: Ranjith S R <ranjith.rangaraju.ext@openbravo.com>
Date: 28-11-2023 19:24:27
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/8537ad6182d872dad056253319b3eda39e7696f6 [^]

Revert "ISSUE-53237: Gift Card Owner is shown correctly if created with specified Customer"

This reverts commit 5ca2e44a0eaa7fc3f6faab7696dcfc2ce28ea23e.

---
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardDialog/GiftCardDialog.jsx
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardSale/GiftCardSale.jsx
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/actions/CreateGiftCardCertificate.js
---
(0158191)
hgbot   
2023-12-14 10:01   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/281 [^]
(0158428)
hgbot   
2023-12-20 16:27   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/281 [^]
(0158429)
hgbot   
2023-12-20 16:27   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: eef65db3a8cc8834423130ae9b006f6c026e4613
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 20-12-2023 15:27:39
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/eef65db3a8cc8834423130ae9b006f6c026e4613 [^]

Fixed ISSUE-53237: Gift Card Owner is shown correctly if created with specified Customer

---
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardDialog/GiftCardDialog.jsx
M web-jspack/org.openbravo.retail.giftcards/src/components/GiftCardSale/GiftCardSale.jsx
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/actions/CreateGiftCardCertificate.js
---