Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040128Retail ModulesWeb POSpublic2019-01-31 13:262019-02-20 17:47
JONHM 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR18Q3.5 
jorge-garcia
2019-02-07
RR18Q1.3
No
0040128: In remote mode, the search on advance BP selector does not clear the filters
In remote mode, the search on advance BP selector does not clear the filters.
When filtering by City we got an error because the filter is not allowed, then we search for the Name and we still are getting the same error as before.
Also, if we open the Advance Filters, we can check that the filters are not deleted, and when pressing the 'Clear All' button is not working.
Probably those two errors are related.
In the backend, set the Preference "Enable Remote for Customer" with value 'Y' for "The White Valley Group" client.

In the WebPos, open the BP selector, select 'City' on the drop-down and enter some value. We got an error because filtering is not allowed for that property.

Then, select 'Full Name' on the drop-down and enter some value. We get the same error as before.

Notice that if we click on 'Advanced Filters' we are getting both values, and if we click on 'Clear All' button, nothing happens.
No tags attached.
blocks defect 0040086 closed ranjith_qualiantech_com In remote mode, the search on advance BP selector does not clear the filters 
Issue History
2019-02-04 17:48jorge-garciaTypedefect => backport
2019-02-04 17:48jorge-garciaTarget Version => RR18Q3.5
2019-02-13 11:20hgbotCheckin
2019-02-13 11:20hgbotNote Added: 0109799
2019-02-13 11:20hgbotCheckin
2019-02-13 11:20hgbotNote Added: 0109800
2019-02-13 11:20hgbotStatusscheduled => resolved
2019-02-13 11:20hgbotResolutionopen => fixed
2019-02-13 11:20hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/53ec61cbfb0b44dd0dbc25765e15fa210765d28c [^] => http://code.openbravo.com/retail/backports/3.0RR18Q3.5/org.openbravo.mobile.core/rev/e3f3cab886d6f9d0a7d7fa1760e53f5de880218e [^]
2019-02-20 17:47jorge-garciaReview Assigned To => jorge-garcia
2019-02-20 17:47jorge-garciaNote Added: 0109970
2019-02-20 17:47jorge-garciaStatusresolved => closed

Notes
(0109799)
hgbot   
2019-02-13 11:20   
Repository: retail/backports/3.0RR18Q3.5/org.openbravo.retail.posterminal
Changeset: 40150aea1cd70c77241cfdcebdb434fbf3373907
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Feb 13 15:47:33 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q3.5/org.openbravo.retail.posterminal/rev/40150aea1cd70c77241cfdcebdb434fbf3373907 [^]

Related to issue 40128 : Refactored Advanced Filter Modal to use FilterProperties With SelectorPreference

* filterModel is moved to parent component of FilterSelectorTableHeader to support/modify the filters based on configuration
  for eg. Business Partner Advanced Filter will be updated by Temrinal's "Show Business Partner Category"
* filters has been initialized before component rendering, since Filter Combo is rendered based on Filter Properties

---
M web/org.openbravo.retail.posterminal/js/components/businesspartner_selector.js
M web/org.openbravo.retail.posterminal/js/components/modalorderselector.js
M web/org.openbravo.retail.posterminal/js/model/bpartnerfilter.js
---
(0109800)
hgbot   
2019-02-13 11:20   
Repository: retail/backports/3.0RR18Q3.5/org.openbravo.mobile.core
Changeset: e3f3cab886d6f9d0a7d7fa1760e53f5de880218e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Feb 13 15:48:55 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q3.5/org.openbravo.mobile.core/rev/e3f3cab886d6f9d0a7d7fa1760e53f5de880218e [^]

Fixed issue 40128 : Refactored Advanced Filter Modal to use model filter conditions

* Filters properties is defined in parent of advanced filter selector popup
* When clear method is called for FilterSelector Modal, all fields should be cleared even it is disabled
* For disabled fields, setPresetValue function will be undefined.
  Refactored clearAll method to support setPresetValue is present or not

---
M web/org.openbravo.mobile.core/source/component/dialog/ob-advancedfilterselector.js
M web/org.openbravo.mobile.core/source/component/dialog/ob-modaladvancedfilters.js
M web/org.openbravo.mobile.core/source/data/ob-model.js
---
(0109970)
jorge-garcia   
2019-02-20 17:47   
Code reviewed and tested