Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045880Retail ModulesDiscounts and Promotionspublic2021-02-10 17:432021-03-04 22:44
Leyre 
rqueralta 
highmajoralways
closedfixed 
5
 
RR21Q2 
No
0045880: Problems with Pack promotions when delete a product from the Price List - Product Price of the store
Problems with Pack promotions when delete a product from the Price List - Product Price of the store.
Web POS:
1. Open a terminal, for example VBS-1:
https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]

2. In Browse tab, select "Camping Pack" and confirm that it is added correctly.
3. Delete the ticket.

Backend:
1. Go to the Price List of the store. In this case: The White Valley Group Sale Price List
2. In the Price List Version -> Product Price tab, delete the two products defined in the previous Pack: "Down sleeping bag 500" and "Expedition tent 4 season 2 person".

Web POS:
1. Do a full refresh.
2. Login again into the terminal VBS-1.
3. In Browse tab, select "Camping Pack".

Result:
1. Confirm that the system displays an error "Not found product : 090AD5EA347C4E809FD0BEBF08E82332".
2. Confirm that there is an error in the Console Browser. See attached image
No tags attached.
png error.png (264,376) 2021-02-10 17:43
https://issues.openbravo.com/file_download.php?file_id=15312&type=bug
patch Fixed-BUG-45880-19Q3.4-Discount.patch (1,397) 2021-03-04 22:44
https://issues.openbravo.com/file_download.php?file_id=15368&type=bug
patch Fixed-BUG-45880-19Q3.4-Posterminal.patch (2,017) 2021-03-04 22:44
https://issues.openbravo.com/file_download.php?file_id=15369&type=bug
Issue History
2021-02-10 17:43LeyreNew Issue
2021-02-10 17:43LeyreAssigned To => Retail
2021-02-10 17:43LeyreFile Added: error.png
2021-02-10 17:43LeyreResolution time => 1614726000
2021-02-10 17:43LeyreTriggers an Emergency Pack => No
2021-02-17 15:42rqueraltaAssigned ToRetail => rqueralta
2021-02-17 15:43rqueraltaStatusnew => scheduled
2021-02-26 18:43hgbotNote Added: 0126379
2021-03-01 08:14hgbotResolutionopen => fixed
2021-03-01 08:14hgbotStatusscheduled => closed
2021-03-01 08:14hgbotNote Added: 0126400
2021-03-01 08:14hgbotFixed in Version => RR21Q2
2021-03-01 08:14hgbotNote Added: 0126401
2021-03-04 22:44rqueraltaFile Added: Fixed-BUG-45880-19Q3.4-Discount.patch
2021-03-04 22:44rqueraltaFile Added: Fixed-BUG-45880-19Q3.4-Posterminal.patch

Notes
(0126379)
hgbot   
2021-02-26 18:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/325 [^]
(0126400)
hgbot   
2021-03-01 08:14   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/325 [^]
(0126401)
hgbot   
2021-03-01 08:14   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 64ac4923ef9e95b1df626ca6bd5bbe2a95b0a17a
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-03-01T07:14:37+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/64ac4923ef9e95b1df626ca6bd5bbe2a95b0a17a [^]

Fixed BUG-45880: Show message when Product for Pack was not found

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/AddProduct.js
---