Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051405Retail ModulesWeb POSpublic2023-01-18 18:292023-02-13 07:50
nicola_uva 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
piRR23Q2 
aaroncalero
No
0051405: Loyalty Burn Coupon - Coupon code generated is too big and not recognized by the scanner device on template
Coupon code generated is too big and not recognized by the scanner device on template.
1.Login in the webpos
2.Find a customer with loyalty program and a coupon
3.Link the customer to the receipt
4.finalyze the payment
5.A dialog is showed with button "Generate coupons"
6.click on that button
7.coupon template(xml) is printed
8.scanner not recognized a barcode because is too big.(see image attached)
src/org/openbravo/loyalty/burn/coupon/util/GenerateCouponUtils.java method createCoupon generatea smaller coupon code. Nowaydays is generate the UUID (32 character)
No tags attached.
png b5b3dd38-82d5-4e28-8bb7-af8885334f2b.png (76,386) 2023-01-18 18:29
https://issues.openbravo.com/file_download.php?file_id=18041&type=bug
png
Issue History
2023-01-18 18:29nicola_uvaNew Issue
2023-01-18 18:29nicola_uvaAssigned To => Retail
2023-01-18 18:29nicola_uvaFile Added: b5b3dd38-82d5-4e28-8bb7-af8885334f2b.png
2023-01-18 18:29nicola_uvaTriggers an Emergency Pack => No
2023-01-18 18:53nicola_uvaIssue Monitored: nicola_uva
2023-01-24 08:28ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-01-24 08:28ranjith_qualiantech_comStatusnew => scheduled
2023-01-30 09:16hgbotNote Added: 0145998
2023-02-10 12:09hgbotResolutionopen => fixed
2023-02-10 12:09hgbotStatusscheduled => resolved
2023-02-10 12:09hgbotNote Added: 0146373
2023-02-10 12:09hgbotNote Added: 0146374
2023-02-13 07:50marvintmReview Assigned To => aaroncalero
2023-02-13 07:50marvintmStatusresolved => closed
2023-02-13 07:50marvintmFixed in Version => RR23Q2

Notes
(0145998)
hgbot   
2023-01-30 09:16   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.burn.coupon/-/merge_requests/6 [^]
(0146373)
hgbot   
2023-02-10 12:09   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.burn.coupon [^]
Changeset: 680ce1b0214765a9fe0c512ce9e77f02c54aa43c
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 30-01-2023 13:45:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.burn.coupon/-/commit/680ce1b0214765a9fe0c512ce9e77f02c54aa43c [^]

Fixed ISSUE-51405: Coupon code should be generated with length of 21 characters
* When generating coupon code, code should be generated with length of 21 characters.
  Code must start with "C" and generation logic should be same like OTF Coupon

---
M src/org/openbravo/loyalty/burn/coupon/util/GenerateCouponUtils.java
---
(0146374)
hgbot   
2023-02-10 12:09   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.loyalty.burn.coupon/-/merge_requests/6 [^]