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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049459
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2022-06-01 10:502022-07-18 10:02
ReportercaristuView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in Version
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

0049459: Taxes and Discounts caches are not refreshed after changes in the masterdata

DescriptionTaxes and Discounts caches are loaded when the login into the POS is done[1]. But if there are changes in the masterdata used to populate them, they are not refreshed.

Currently to force their refresh it is necessary to logout and login or refresh the application (F5)

[1] https://gitlab.com/openbravo/devel/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/ob-init.js#L2039 [^]
Steps To ReproduceIn description
Proposed SolutionUse the MasterdataController listeners[1] to force a cache refresh when the models used to populate them have changes.

[1] http://wiki.openbravo.com/wiki/MasterdataController#Masterdata_listeners [^]
TagsFASH
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0049358 closedcaristu Retail Modules Support selecting the discounts to be loaded into a terminal by a store set based criteria 
related to feature request 0049021 closedyogaskarnik Retail Modules Add support for discount filters that depend on CRM properties 
related to defect 0049824 newRetail POS2 Discounts cache is not refreshed after changes in some related masterdata models 

-  Notes
(0138356)
hgbot (developer)
2022-06-15 07:18

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1008 [^]
(0138457)
hgbot (developer)
2022-06-17 06:38

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 67c40476dc0113bc45d06db09fe1a89ad406e754
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 17-06-2022 04:38:37
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/67c40476dc0113bc45d06db09fe1a89ad406e754 [^]

Fixed ISSUE-49459: Added MasterDataHook to update Discount and TaxRate Cache

---
A web-jspack/org.openbravo.pos2/src/core/masterData/MasterDataCache.js
M web-jspack/org.openbravo.pos2/src/ob-init.js
---
(0138458)
hgbot (developer)
2022-06-17 06:38

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1008 [^]

- Issue History
Date Modified Username Field Change
2022-06-01 10:50 caristu New Issue
2022-06-01 10:50 caristu Assigned To => Retail
2022-06-01 10:50 caristu Triggers an Emergency Pack => No
2022-06-01 10:51 caristu Relationship added related to 0049358
2022-06-01 10:54 cberner Relationship added related to 0049021
2022-06-03 11:34 caristu Description Updated View Revisions
2022-06-07 11:56 rafaroda Tag Attached: FASH
2022-06-07 11:57 rafaroda Issue Monitored: rafaroda
2022-06-10 14:21 avicente Priority high => urgent
2022-06-13 11:57 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2022-06-13 12:24 ranjith_qualiantech_com Status new => scheduled
2022-06-15 07:18 hgbot Note Added: 0138356
2022-06-17 06:38 hgbot Resolution open => fixed
2022-06-17 06:38 hgbot Status scheduled => closed
2022-06-17 06:38 hgbot Note Added: 0138457
2022-06-17 06:38 hgbot Note Added: 0138458
2022-07-18 10:02 caristu Issue cloned 0049824
2022-07-18 10:02 caristu Relationship added related to 0049824


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker