Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049824 | POS2 | POS | public | 2022-07-18 10:02 | 2024-01-11 16:49 |
|
Reporter | caristu | |
Assigned To | Retail | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
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 [^] |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0049459 | | closed | ranjith_qualiantech_com | Taxes and Discounts caches are not refreshed after changes in the masterdata | related to | defect | 0050154 | | closed | ranjith_qualiantech_com | [Promo] Cache problems in POS after changes in promotions |
|
Attached Files | |
|
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 | bug_revision_view_page.php?rev_id=24510#r24510 |
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 | |