Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0049824 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [POS2] POS | minor | have not tried | 2022-07-18 10:02 | 2024-01-11 16:49 | |||||||
Reporter | caristu | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0049824: Discounts cache is not refreshed after changes in some related masterdata models | |||||||||||
Description | Taxes 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 Reproduce | In description | |||||||||||
Proposed Solution | Include 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 [^] | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
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 |