Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040126Retail ModulesWeb POSpublic2019-01-31 13:262019-02-20 17:30
JONHM 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q1 
jorge-garcia
2019-02-07
RR18Q1.3
No
0040126: 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 => RR19Q1
2019-02-13 11:19hgbotCheckin
2019-02-13 11:19hgbotNote Added: 0109796
2019-02-13 11:19hgbotStatusscheduled => resolved
2019-02-13 11:19hgbotResolutionopen => fixed
2019-02-13 11:19hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/53ec61cbfb0b44dd0dbc25765e15fa210765d28c [^] => http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.mobile.core/rev/f2fbe79a6f6bfa9a6d1786bdc4c07d7291514758 [^]
2019-02-13 11:20hgbotCheckin
2019-02-13 11:20hgbotNote Added: 0109801
2019-02-20 17:30jorge-garciaReview Assigned To => jorge-garcia
2019-02-20 17:30jorge-garciaNote Added: 0109967
2019-02-20 17:30jorge-garciaStatusresolved => closed

Notes
(0109796)
hgbot   
2019-02-13 11:19   
Repository: retail/backports/3.0RR19Q1/org.openbravo.mobile.core
Changeset: f2fbe79a6f6bfa9a6d1786bdc4c07d7291514758
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Feb 13 15:48:44 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.mobile.core/rev/f2fbe79a6f6bfa9a6d1786bdc4c07d7291514758 [^]

Fixed issue 40126 : 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
---
(0109801)
hgbot   
2019-02-13 11:20   
Repository: retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal
Changeset: 7f0f05ee6d7a5c60162beed7566363c9efd2e99d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Feb 13 15:47:21 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal/rev/7f0f05ee6d7a5c60162beed7566363c9efd2e99d [^]

Related to issue 40126 : 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/modal-pay-open-tickets.js
M web/org.openbravo.retail.posterminal/js/components/modalassociatetickets.js
M web/org.openbravo.retail.posterminal/js/components/modalorderselector.js
M web/org.openbravo.retail.posterminal/js/model/bpartnerfilter.js
---
(0109967)
jorge-garcia   
2019-02-20 17:30   
Code reviewed and tested