Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049459 | POS2 | POS | public | 2022-06-01 10:50 | 2022-07-18 10:02 |
|
Reporter | caristu | |
Assigned To | ranjith_qualiantech_com | |
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
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 | 0049459: Taxes and Discounts caches are not refreshed after changes in the masterdata |
Description | Taxes 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 Reproduce | In description |
Proposed Solution | Use 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 [^] |
Additional Information | |
Tags | FASH |
Relationships | related to | feature request | 0049358 | | closed | caristu | Retail Modules | Support selecting the discounts to be loaded into a terminal by a store set based criteria | related to | feature request | 0049021 | | closed | yogaskarnik | Retail Modules | Add support for discount filters that depend on CRM properties | related to | defect | 0049824 | | new | Retail | POS2 | Discounts cache is not refreshed after changes in some related masterdata models |
|
Attached Files | |
|
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 | bug_revision_view_page.php?rev_id=24229#r24229 |
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 |