Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041776 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2019-09-06 13:36 | 2019-09-26 16:38 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | gorka_gil | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR19Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | b3ba9c892ed4 | ||||
Projection | none | ETA | none | Target Version | RR19Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0114753) hgbot (developer) 2019-09-24 10:44 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: b3ba9c892ed4ca3807f0881a1b293a82f6aa805a Author: Gorka Gil <gorka.gil <at> openbravo.com> Date: Tue Sep 17 17:32:34 2019 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b3ba9c892ed4ca3807f0881a1b293a82f6aa805a [^] Fixes issue 41776: Call to init discounts cache after update the masterdata and before hide the loading popup --- M web/org.openbravo.retail.posterminal/js/utils/ob-utilitiesuipos.js --- |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |