Openbravo Issue Tracking System - POS2
View Issue Details
0057071POS2POSpublic2024-11-12 13:062024-11-16 09:17
nicolasuriz 
sreehari 
highmajoralways
closedfixed 
5
 
 
Pre packaging ( pi )
2024-11-13
pi
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/63/diffs#0c51e73c951c2ceb5a35a50aedc3bed4dbc5afb0_28_18 [^]
No
0057071: While adding a discount coupon to a ticket with an identified client, the transaction is blocked by an error.
If you create a nominal discount coupon in the BO and then you try to use it in POS, this transaction is blocked in the final step with an error of "t is not iterable", blocking the synchronization of the ticket until you remove the coupon, so the coupon usage is blocked in POS right now.
1. Login BO and create an available nominal Discount Coupon.
2. Login POS
3. Associate the Business partner associated to the discount coupon previously created.
4. Add a product to the ticket.
5. Click on the 3 dots and add the discount coupon created.
6. Try to pay and synchronize the Sales Order.
No tags attached.
caused by feature request 0056751 closed eliezerSotomayor OTF coupons generation should be configurable (Fully paid or Issue)[React] 
? Error - t is not iterable.mp4 (4,217,887) 2024-11-12 13:06
https://issues.openbravo.com/file_download.php?file_id=20460&type=bug
Issue History
2024-11-12 13:06nicolasurizNew Issue
2024-11-12 13:06nicolasurizAssigned To => Retail
2024-11-12 13:06nicolasurizFile Added: Error - t is not iterable.mp4
2024-11-12 13:06nicolasurizTriggers an Emergency Pack => No
2024-11-13 09:12guilleaerAssigned ToRetail => guilleaer
2024-11-13 09:12guilleaerStatusnew => acknowledged
2024-11-13 09:34sreehariAssigned Toguilleaer => sreehari
2024-11-13 09:51sreehariStatusacknowledged => scheduled
2024-11-13 10:44sreehariRegression level => Pre packaging ( pi )
2024-11-13 10:44sreehariRegression date => 2024-11-13
2024-11-13 10:44sreehariRegression introduced in release => pi
2024-11-13 10:44sreehariRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/63/diffs#0c51e73c951c2ceb5a35a50aedc3bed4dbc5afb0_28_18 [^]
2024-11-13 10:44sreehariRelationship addedcaused by 0056751
2024-11-16 06:50hgbotNote Added: 0172067
2024-11-16 09:16hgbotNote Added: 0172091
2024-11-16 09:17hgbotResolutionopen => fixed
2024-11-16 09:17hgbotStatusscheduled => closed
2024-11-16 09:17hgbotNote Added: 0172092

Notes
(0172067)
hgbot   
2024-11-16 06:50   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/64 [^]
(0172091)
hgbot   
2024-11-16 09:16   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/merge_requests/64 [^]
(0172092)
hgbot   
2024-11-16 09:17   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf [^]
Changeset: da724269d5462345c6ac9f0780bf22f98918f0c7
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 13-11-2024 15:11:05
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.coupons.otf/-/commit/da724269d5462345c6ac9f0780bf22f98918f0c7 [^]

Fixes ISSUE-57071: Added await to resolve promise

---
M web-jspack/org.openbravo.retail.discounts.coupons.otf/src/model/global/actions/CouponsOTFCompleteTicketActionPreparation.js
M web-jspack/org.openbravo.retail.discounts.coupons.otf/src/model/global/actions/utils/PrintCoupons.js
---