Openbravo Issue Tracking System - POS2
View Issue Details
0057412POS2Corepublic2024-12-10 14:122024-12-21 10:00
dorian_robillard 
sreehari 
highmajoralways
scheduledopen 
5
 
 
No
0057412: An API user cannot use the API Consume Git card for several currencies
In 24Q2, we were able to use one API user for import consuming of gift card i severa currencies
- USD
- GPP
- CHF
- EUR

From this fix https://issues.openbravo.com/view.php?id=55554, [^] we have to define a currency in the organisation associated to the USER connected to the API.

So with a smae user we cannot import AN amount consumed in a gift card with
Connect to the swagger API

Try to consume gift card with organisation with currency "EUR" with the api "Consume Gift Cards Web Service"

Try to consume gift card with organisation with currency "USD" with the api

Only the gift card in the organisation of the user will be updated
Currency of the user should not blocked the use of the API
No tags attached.
png Capture d’écran 2024-12-10 141011.png (95,328) 2024-12-10 14:12
https://issues.openbravo.com/file_download.php?file_id=20622&type=bug
png
Issue History
2024-12-10 14:12dorian_robillardNew Issue
2024-12-10 14:12dorian_robillardAssigned To => Triage Platform Base
2024-12-10 14:12dorian_robillardFile Added: Capture d’écran 2024-12-10 141011.png
2024-12-10 14:12dorian_robillardTriggers an Emergency Pack => No
2024-12-10 15:57marvintmAssigned ToTriage Platform Base => Retail
2024-12-16 12:28inaki_azkonobietaDescription Updatedbug_revision_view_page.php?rev_id=28931#r28931
2024-12-16 14:45guilleaerAssigned ToRetail => guilleaer
2024-12-16 14:45guilleaerStatusnew => acknowledged
2024-12-17 14:22sreehariAssigned Toguilleaer => sreehari
2024-12-18 05:50sreehariStatusacknowledged => scheduled
2024-12-21 09:59hgbotNote Added: 0173583
2024-12-21 10:00hgbotNote Added: 0173584

Notes
(0173583)
hgbot   
2024-12-21 09:59   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1487 [^]
(0173584)
hgbot   
2024-12-21 10:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/407 [^]