Openbravo Issue Tracking System - POS2
View Issue Details
0056287POS2Corepublic2024-08-21 15:452024-09-02 08:46
dorian_robillard 
sreehari 
highmajoralways
closedfixed 
5
 
 
approved
OBPS
Pre packaging ( pi )
2024-08-28
pi
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/51/diffs#88ae055a5c9cc4ccb63427008e74d6ff7d6da645_0_32 [^]
No
0056287: POS is frozen when adding coupon with other promotion
When we add on the same product line a promotion “Percentage Discount per Total Amount” with a coupon and other automatic or manual promotion, the chrome stop to work and we can not validate the receipt.
On the BO :

create a promotion “Percentage Discount per Total Amount” with a coupon

create another promotion, exemple “price promotion”

On the POS :

make a receipt with one product

apply a coupon

apply a price adjustement promotion

Pay the receipt
POS should not be frozen
No tags attached.
depends on backport 005633324Q3.1 closed sreehari POS2 POS is frozen when adding coupon with other promotion 
caused by defect 0055189 closed SABARINATH P Retail Modules 1 use coupons usable twice with parallel tickets 
png image-20240820-080213.png (153,170) 2024-08-21 15:45
https://issues.openbravo.com/file_download.php?file_id=20103&type=bug
png
Issue History
2024-08-21 15:45dorian_robillardNew Issue
2024-08-21 15:45dorian_robillardAssigned To => Triage Platform Base
2024-08-21 15:45dorian_robillardFile Added: image-20240820-080213.png
2024-08-21 15:45dorian_robillardTriggers an Emergency Pack => No
2024-08-27 12:10guillermogilOBNetwork customer => OBPS
2024-08-27 12:10guillermogilAssigned ToTriage Platform Base => Retail
2024-08-27 12:10guillermogilStatusnew => acknowledged
2024-08-27 13:25sreehariAssigned ToRetail => sreehari
2024-08-28 07:59sreehariStatusacknowledged => scheduled
2024-08-28 08:17sreehariRelationship addedcaused by 0055189
2024-08-28 08:45sreehariRegression level => Pre packaging ( pi )
2024-08-28 08:45sreehariRegression date => 2024-08-28
2024-08-28 08:45sreehariRegression introduced in release => pi
2024-08-28 08:45sreehariRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/51/diffs#88ae055a5c9cc4ccb63427008e74d6ff7d6da645_0_32 [^]
2024-08-28 10:45hgbotMerge Request Status => open
2024-08-28 10:45hgbotNote Added: 0168503
2024-09-02 08:21marvintmStatusscheduled => acknowledged
2024-09-02 08:21marvintmStatusacknowledged => scheduled
2024-09-02 08:45hgbotMerge Request Statusopen => approved
2024-09-02 08:46hgbotResolutionopen => fixed
2024-09-02 08:46hgbotStatusscheduled => closed
2024-09-02 08:46hgbotNote Added: 0168627
2024-09-02 08:46hgbotNote Added: 0168628

Notes
(0168503)
hgbot   
2024-08-28 10:45   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/65 [^]
(0168627)
hgbot   
2024-09-02 08:46   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons [^]
Changeset: e22a192054c145302d7c22b98abaeca13cb14315
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 28-08-2024 12:25:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/commit/e22a192054c145302d7c22b98abaeca13cb14315 [^]

Fixes ISSUE-56287: Added Valid Loop case
*optimized code to call 'CouponUsed' when we have coupons
*removed unused variable

---
M web-jspack/org.openbravo.retail.discounts.coupons/src/action/CouponStateActionPreparation.js
---
(0168628)
hgbot   
2024-09-02 08:46   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons/-/merge_requests/65 [^]