Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050154
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2022-09-05 11:532022-09-26 06:56
Reportercharlotte_vasseurView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in Version22Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0050154: [Promo] Cache problems in POS after changes in promotions

DescriptionWe have to log out/log in in POS or clean cache/history or open POS in private mode of the browser to see changes made on promotions
Refreshing masterdata in POS should be enough
Steps To ReproduceIn Backoffice, I created a store set with Vall Blanca Store (see Store set.png)
and this promotion 'Discount store set' with :
- active and starting 05-09-2022
- 'Included Product' = 'Only those defined'
- in ‘Product’ tab = product Hiking boots
- 'Included Organizations' = 'Only those defined'
- in ‘Organization’ tab, include store Vall Blanca (see Promo organization.png)
- 'Included Store Set' = 'All excluding defined'
- in 'Store Set' tab, add the previous store set (see Promo store set active.png)
- Discount amount = 8.50

Refresh master data in POS, the discount amount of the promotion is not applied for the product (OK - see POS Store + store set active.png)

In backoffice, select the previous promotion and deactivate the previous store set (see Promo store set deactivated.png)

Refresh master data in POS, the discount amount of the promotion is still not applied for the product (KO) when it should be (see POS Store + store set deactived KO.png)


=> If we log out and log in (or clean the cache and history of the browser, close and reopen POS - or open POS in a private mode window of the browser), then the promotion is well applied (see POS Store + store set deactived OK.png)
TagsNo tags attached.
Attached Filespng file icon Store set.png [^] (134,802 bytes) 2022-09-05 11:53


png file icon Promo organization.png [^] (188,688 bytes) 2022-09-05 11:53


png file icon Promo store set active.png [^] (188,420 bytes) 2022-09-05 11:53


png file icon POS Store + store set active.png [^] (114,168 bytes) 2022-09-05 11:53


png file icon Promo store set deactivated.png [^] (192,261 bytes) 2022-09-05 11:54


png file icon POS Store + store set deactived KO.png [^] (114,208 bytes) 2022-09-05 11:54


png file icon POS Store + store set deactived OK.png [^] (117,532 bytes) 2022-09-05 11:54

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0049824 newRetail Discounts cache is not refreshed after changes in some related masterdata models 

-  Notes
(0141232)
hgbot (developer)
2022-09-20 07:26

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1218 [^]
(0141313)
hgbot (developer)
2022-09-23 08:05

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1218 [^]
(0141314)
hgbot (developer)
2022-09-23 08:05

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: d63a0522c94a38de0d7e323d9757e64d758613a8
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 23-09-2022 06:05:25
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/d63a0522c94a38de0d7e323d9757e64d758613a8 [^]

Fixed ISSUE-50154: Discount Cache should be updated when discount models are changed

---
M web-jspack/org.openbravo.pos2/src/core/discount/initDiscountsCache.js
---
(0141356)
hgbot (developer)
2022-09-26 06:56

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 8cbdaad2b294ddba42a8303a2f5b0907bd54c660
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 26-09-2022 10:20:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/8cbdaad2b294ddba42a8303a2f5b0907bd54c660 [^]

Related to ISSUE-50154: Updated Jest test for DiscountCache Model Listener

---
M web-jspack/org.openbravo.pos2/src/core/discount/__test__/initDiscountsCache.test.js
---

- Issue History
Date Modified Username Field Change
2022-09-05 11:53 charlotte_vasseur New Issue
2022-09-05 11:53 charlotte_vasseur Assigned To => Retail
2022-09-05 11:53 charlotte_vasseur File Added: Store set.png
2022-09-05 11:53 charlotte_vasseur Triggers an Emergency Pack => No
2022-09-05 11:53 charlotte_vasseur File Added: Promo organization.png
2022-09-05 11:53 charlotte_vasseur File Added: Promo store set active.png
2022-09-05 11:53 charlotte_vasseur File Added: POS Store + store set active.png
2022-09-05 11:54 charlotte_vasseur File Added: Promo store set deactivated.png
2022-09-05 11:54 charlotte_vasseur File Added: POS Store + store set deactived KO.png
2022-09-05 11:54 charlotte_vasseur File Added: POS Store + store set deactived OK.png
2022-09-05 17:36 caristu Relationship added related to 0049824
2022-09-19 11:04 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2022-09-19 11:04 ranjith_qualiantech_com Status new => scheduled
2022-09-20 07:26 hgbot Note Added: 0141232
2022-09-23 08:05 hgbot Note Added: 0141313
2022-09-23 08:05 hgbot Resolution open => fixed
2022-09-23 08:05 hgbot Status scheduled => closed
2022-09-23 08:05 hgbot Fixed in Version => 22Q4
2022-09-23 08:05 hgbot Note Added: 0141314
2022-09-26 06:56 hgbot Note Added: 0141356


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker