Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041776
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-09-06 13:362019-09-26 16:38
ReportermarvintmView Statuspublic 
Assigned Togorka_gil 
PriorityhighResolutionfixedFixed in VersionRR19Q4
StatusclosedFix in branchFixed in SCM revisionb3ba9c892ed4
ProjectionnoneETAnoneTarget VersionRR19Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041776: Discounts cache should be refreshed whenever incremental refresh is triggered and finds new data

DescriptionCurrently 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 SolutionThe 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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
---

- 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 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
Powered by Mantis Bugtracker