Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045570Retail ModulesWeb POSpublic2020-12-11 14:562020-12-28 07:27
marvintm 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR20Q4.1RR20Q4.1 
marvintm
No
0045570: Several ClientModel requests are done twice
When the WebPOS application is loaded, the following requests are done twice:

ClientModel?entity=FinancialMgmtTaxRate
ClientModel?entity=PricingAdjustment
ClientModel?entity=PricingAdjustmentBusinessPartner
ClientModel?entity=PricingAdjustmentBusinessPartner
ClientModel?entity=PricingAdjustmentProduct
ClientModel?entity=PricingAdjustmentProductCategory
ClientModel?entity=OBDISC_Offer_Role
ClientModel?entity=PricingAdjustmentCharacteristic

Moreover, the first group of requests seems not to be cached (second group is triggered by the Service Workers).

We need to remove the first group.
Load the WebPOS, and realise those requests are duplicated
No tags attached.
blocks defect 0045560 closed ranjith_qualiantech_com Several ClientModel requests are done twice 
Issue History
2020-12-14 11:54shuehnerTypedefect => backport
2020-12-14 11:54shuehnerTarget Version => RR20Q4.1
2020-12-23 03:47ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-12-23 06:25hgbotResolutionopen => fixed
2020-12-23 06:25hgbotStatusscheduled => resolved
2020-12-23 06:25hgbotFixed in Version => RR20Q4.1
2020-12-23 06:25hgbotNote Added: 0125055
2020-12-28 07:27marvintmReview Assigned To => marvintm
2020-12-28 07:27marvintmStatusresolved => closed

Notes
(0125055)
hgbot   
2020-12-23 06:25   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 9f201dc5c7d6ad5ba02a48d6193fc1272f936992
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-12-23T10:55:08+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9f201dc5c7d6ad5ba02a48d6193fc1272f936992 [^]

Fixed ISSUE-45570: Added DataModel for DiscountFilter Business Partner
* Removed unused promotion model form Component Provider

---
A web/org.openbravo.retail.posterminal/js/model/discountsbusinesspartner.js
M src/org/openbravo/retail/posterminal/ApplicationCacheComponent.java
M src/org/openbravo/retail/posterminal/OBPOSComponentProvider.java
R web/org.openbravo.retail.posterminal/js/model/promotions.js
---