Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0041776 | Retail Modules | Web POS | public | 2019-09-06 13:36 | 2019-09-26 16:38 |
Reporter | marvintm | ||||
Assigned To | gorka_gil | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | RR19Q4 | Fixed in Version | RR19Q4 | ||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | No | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0041776: Discounts cache should be refreshed whenever incremental refresh is triggered and finds new data | ||||
Description | Currently the discounts cache is only initialised when the user logs in. However, the discounts masterdata information may be also changed when an incremental refresh is triggered while the user is working. In this case, the cache should also be refreshed. | ||||
Steps To Reproduce | - Do login in the WebPOS with new discounts engine enabled - Define a new discount in backend. - Wait until incremental masterdata refresh happens. - Add a product which should be affected by the discount. Verify that the discount is not applied. - Do F5. Add the product again. Verify that the discount is applied. | ||||
Proposed Solution | The discounts cache should be initialised: OB.Discounts.Pos.initCache({}, callback); This should be done after the data has been updated in the local database, but before the "showLoading" popup has been hidden. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-09-06 13:36 | marvintm | New Issue | |||
2019-09-06 13:36 | marvintm | Assigned To | => gorka_gil | ||
2019-09-06 13:36 | marvintm | OBNetwork customer | => No | ||
2019-09-06 13:36 | marvintm | Triggers an Emergency Pack | => No | ||
2019-09-24 10:44 | hgbot | Checkin | |||
2019-09-24 10:44 | hgbot | Note Added: 0114753 | |||
2019-09-24 10:44 | hgbot | Status | new => resolved | ||
2019-09-24 10:44 | hgbot | Resolution | open => fixed | ||
2019-09-24 10:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b3ba9c892ed4ca3807f0881a1b293a82f6aa805a [^] | ||
2019-09-26 13:49 | jorge-garcia | Review Assigned To | => marvintm | ||
2019-09-26 16:38 | marvintm | Status | resolved => closed | ||
2019-09-26 16:38 | marvintm | Fixed in Version | => RR19Q4 |
Notes | |||||
|
|||||
|
|