Openbravo Issue Tracking System - POS2
View Issue Details
0050052POS2POSpublic2022-08-24 16:212022-10-04 08:30
charlotte_vasseur 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
 
No
0050052: [Price List] Cache problems in POS after deactiviting a Price List Version
We have to clean cache/history or open POS in private mode of the browser to see changes after deactivaing a price list version
Refreshing masterdata in POS should be enough
In Backoffice, window ‘Price List’
Select the price list that is used by the store of the terminal wanted (for Vall Blanca Store : The White Valley Group Sale Price List)
In ‘Price List Version’ subtab, select the last active price list version (for Vall Blanca Store : The White Valley Group Saale Price List Version)
In ‘Product Price’ subtab, select the product wanted (Hiking boots)
In ‘Product Price with Exceptions’, create a new exception price and choose dates that includes today
(see Product Price Exception 1.png)

In POS, refresh master data
Search for the product => The price of the product is the one define in the exception (OK - see Product Price Exception 1 POS.png)

In Backoffice, create a new price list version (for Vall Blanca Store : The White Valley Group Sale Price List Version NEW 2408) with a price exception for the same product (see Product Price Exception 2.png)
In POS, refresh master data, the price exception is well applied (see Product Price Exception 2 POS.png)

In the backoffice, deactive the new price list version (uncheck box ‘Active’)
=> In POS, the price exception of the new price list version is still applied after refreshing masterdata
The price expception of the first price list version should be applied

After cleaning cache and history, the price exception is no longer applied
FASH
related to defect 0050029 closed ranjith_qualiantech_com Price list ending date is not updated in WebPOS with incremental refresh data 
png Product Price Exception 1.png (144,580) 2022-08-24 16:21
https://issues.openbravo.com/file_download.php?file_id=17437&type=bug
png

png Product Price Exception 1 POS.png (109,381) 2022-08-24 16:21
https://issues.openbravo.com/file_download.php?file_id=17438&type=bug
png

png Product Price Exception 2.png (152,477) 2022-08-24 16:21
https://issues.openbravo.com/file_download.php?file_id=17439&type=bug
png

png Product Price Exception 2 POS.png (109,184) 2022-08-24 16:21
https://issues.openbravo.com/file_download.php?file_id=17440&type=bug
png
Issue History
2022-08-24 16:21charlotte_vasseurNew Issue
2022-08-24 16:21charlotte_vasseurAssigned To => Retail
2022-08-24 16:21charlotte_vasseurFile Added: Product Price Exception 1.png
2022-08-24 16:21charlotte_vasseurTriggers an Emergency Pack => No
2022-08-24 16:21charlotte_vasseurFile Added: Product Price Exception 1 POS.png
2022-08-24 16:21charlotte_vasseurFile Added: Product Price Exception 2.png
2022-08-24 16:21charlotte_vasseurFile Added: Product Price Exception 2 POS.png
2022-08-24 17:43rafarodaTag Attached: FASH
2022-09-19 14:43ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-09-19 14:43ranjith_qualiantech_comStatusnew => scheduled
2022-09-26 13:08rafarodaRelationship addedrelated to 0050029
2022-09-28 05:51hgbotNote Added: 0141428
2022-10-04 08:30hgbotResolutionopen => fixed
2022-10-04 08:30hgbotStatusscheduled => closed
2022-10-04 08:30hgbotFixed in Version => RR23Q1
2022-10-04 08:30hgbotNote Added: 0141622
2022-10-04 08:30hgbotNote Added: 0141623

Notes
(0141428)
hgbot   
2022-09-28 05:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/933 [^]
(0141622)
hgbot   
2022-10-04 08:30   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 7a4f9c3b57fd67b11378a13528e3e3ad1f1cff9d
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 04-10-2022 06:30:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/7a4f9c3b57fd67b11378a13528e3e3ad1f1cff9d [^]

Fixed ISSUE-50052: Added PriceListVersion in master Product query
* When PriceListVersion is deleted, last active PriceListVersion should be updated.
  So prices will be reflected in POS during incremental refresh

---
A src/org/openbravo/retail/posterminal/event/PriceListVersionEventHandler.java
M src/org/openbravo/retail/posterminal/master/Product.java
---
(0141623)
hgbot   
2022-10-04 08:30   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/933 [^]