Openbravo Issue Tracking System - POS2
View Issue Details
0057040POS2POSpublic2024-11-07 17:132024-12-09 19:05
kchoperena 
sreehari 
highmajoralways
closedfixed 
5
pi 
 
No
0057040: Nominal Gift Certificate creation is not working with external customers (CRM without coding)
Nominal Gift Certificate creation is not working when the customers are in a external CRM system
PRE-REQUIREMENTS:
Enable a CRM connector for the Organization you are going to use for the test
Configure a Gift Card Reason / Type with the flag "Has owner" checked

STEPS:
1.- Log into the POS2
2.- In the menu, go to Store>Gift Cards/Credit Notes/Gift Certificates
3.- Click on Create Gift Certificate
4.- Select the Gift Card Category created in the PRE-REQUIREMENTS
5.- Assign a customer from the CRM
6.- Add a expiration date and an amount
7.- Click on 'Create'

RESULT:
An error happened

The error is happening because in the GiftCardCertificate class, the businessPartner object is null (line67) and then an exception is raised
No tags attached.
png Screenshot from 2024-11-07 17-11-15.png (203,421) 2024-11-07 17:13
https://issues.openbravo.com/file_download.php?file_id=20446&type=bug
png
Issue History
2024-11-07 17:13kchoperenaNew Issue
2024-11-07 17:13kchoperenaAssigned To => Retail
2024-11-07 17:13kchoperenaFile Added: Screenshot from 2024-11-07 17-11-15.png
2024-11-07 17:13kchoperenaTriggers an Emergency Pack => No
2024-11-13 09:12guilleaerAssigned ToRetail => guilleaer
2024-11-13 09:12guilleaerStatusnew => acknowledged
2024-11-13 13:48sreehariAssigned Toguilleaer => sreehari
2024-11-13 13:48sreehariStatusacknowledged => scheduled
2024-11-25 08:55hgbotNote Added: 0172518
2024-12-09 19:05hgbotResolutionopen => fixed
2024-12-09 19:05hgbotStatusscheduled => closed
2024-12-09 19:05hgbotNote Added: 0173082
2024-12-09 19:05hgbotNote Added: 0173083

Notes
(0172518)
hgbot   
2024-11-25 08:55   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/401 [^]
(0173082)
hgbot   
2024-12-09 19:05   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 5a39f7779f4a79213b75e2e99dbec098e78c8a67
Author: Sreehari Venkataraman <s.venkataraman@external.orisha.com>
Date: 09-12-2024 18:05:24
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/5a39f7779f4a79213b75e2e99dbec098e78c8a67 [^]

Fixes ISSUE-57040: Set Anonymous customer in case of External CRM

---
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/user-actions/CreateGiftCardCertificate.js
---
(0173083)
hgbot   
2024-12-09 19:05   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/401 [^]