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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049824
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2022-07-18 10:022024-01-11 16:49
ReportercaristuView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionopenFixed in Version
StatusnewFix 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

0049824: Discounts cache is not refreshed after changes in some related masterdata models

DescriptionTaxes and Discounts caches are loaded when the login into the POS is done. With the fix for 0049459 when there are changes in some masterdata models used to populate them, they are automatically refreshed.

But there are still some missing masterdata models which are not being taken into account to force a refresh into the discounts cache and they should, some of those models are: DiscountFilterRole, DiscountFilterBusinessPartner, DiscountFilterPriceList etc.
Steps To ReproduceIn description
Proposed SolutionInclude the missing masterdata models into the "models to listen" of the discounts cache refresh listener: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/core/discount/initDiscountsCache.js#L34 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0049459 closedranjith_qualiantech_com Taxes and Discounts caches are not refreshed after changes in the masterdata 
related to defect 0050154 closedranjith_qualiantech_com [Promo] Cache problems in POS after changes in promotions 

-  Notes
(0159195)
caristu (manager)
2024-01-11 16:49

This issue is almost fixed by 0050154 but it looks like there is still one model missing to include: DiscountFilterPriceList. See https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/d63a0522c94a38de0d7e323d9757e64d758613a8 [^]

- Issue History
Date Modified Username Field Change
2022-07-18 10:02 caristu New Issue
2022-07-18 10:02 caristu Assigned To => Retail
2022-07-18 10:02 caristu Triggers an Emergency Pack => No
2022-07-18 10:02 caristu Issue generated from 0049459
2022-07-18 10:02 caristu Relationship added related to 0049459
2022-07-18 10:15 caristu Summary Discounts caches is not refreshed after changes in some related masterdata models => Discounts cache is not refreshed after changes in some related masterdata models
2022-07-18 10:15 caristu Description Updated View Revisions
2022-07-18 10:15 caristu Proposed Solution updated
2022-09-05 17:36 caristu Relationship added related to 0050154
2024-01-11 16:49 caristu Note Added: 0159195


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker