Openbravo Issue Tracking System - Retail Modules
View Issue Details
0053482Retail ModulesWeb POSpublic2023-09-18 23:292023-10-11 13:58
sofidossant 
sreehari 
highmajoralways
closedfixed 
5
pi 
 
No
0053482: Blocking when using a Pack that the products are out of stock.
When we use the "Enable Stock Validation" preference and use a Pack that no product has in stock, the screen locks, you cannot add lines, products, or edit. The menu does work, but nothing more.

Temporary Solution, Enable Stock Validation in N
1 - Preference "Enable Stock Validation" i n YES
2 - Create Pack with 2 product that don't have stock.
3- Add the pack and the terminal is blocked
No tags attached.
? Videograbaci√≥n 2023-09-18 18:30:37.mp4 (4,700,930) 2023-09-18 23:31
https://issues.openbravo.com/file_download.php?file_id=18964&type=bug
Issue History
2023-09-18 23:29sofidossantNew Issue
2023-09-18 23:29sofidossantAssigned To => Retail
2023-09-18 23:29sofidossantTriggers an Emergency Pack => No
2023-09-18 23:31sofidossantFile Added: Videograbación 2023-09-18 18:30:37.mp4
2023-09-20 13:45sreehariAssigned ToRetail => sreehari
2023-09-21 08:44sreehariStatusnew => scheduled
2023-09-22 07:31hgbotNote Added: 0155124
2023-10-11 13:58hgbotResolutionopen => fixed
2023-10-11 13:58hgbotStatusscheduled => closed
2023-10-11 13:58hgbotNote Added: 0155786
2023-10-11 13:58hgbotNote Added: 0155787

Notes
(0155124)
hgbot   
2023-09-22 07:31   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.stockvalidation/-/merge_requests/11 [^]
(0155786)
hgbot   
2023-10-11 13:58   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.stockvalidation [^]
Changeset: 0190cd2f1854630b8e434431651c2da2279b199a
Author: Sreehari Venkataraman <sreehari@qualiantech.com>
Date: 21-09-2023 18:31:48
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.stockvalidation/-/commit/0190cd2f1854630b8e434431651c2da2279b199a [^]

Fixes ISSUE-53482: Modified map function with reduce promise
*Since there are 2 products out of stock in pack discount, we should have 2 pop ups to be confirmed by the user
*but, map promise overrides confirmation popup to 1

---
M web/org.openbravo.retail.stockvalidation/app/model/business-object/ticket/actions/AddProductActionPreparations.js
---
(0155787)
hgbot   
2023-10-11 13:58   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.stockvalidation/-/merge_requests/11 [^]