Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040086Retail ModulesWeb POSpublic2019-01-31 13:262019-02-28 14:37
JONHM 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q2 
jorge-garcia
Packaging and release
2019-02-07
RR18Q1.3
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b249c950e647 [^]
No
0040086: 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.
depends on backport 0040126RR19Q1 closed ranjith_qualiantech_com In remote mode, the search on advance BP selector does not clear the filters 
depends on backport 0040127RR18Q4.2 closed ranjith_qualiantech_com In remote mode, the search on advance BP selector does not clear the filters 
depends on backport 0040128RR18Q3.5 closed ranjith_qualiantech_com In remote mode, the search on advance BP selector does not clear the filters 
related to defect 0040097 closed ranjith_qualiantech_com JS Error when searching with disabled filter in Open Receipt Selector 
png Screenshot from 2019-01-31 13-25-49.png (108,190) 2019-01-31 13:26
https://issues.openbravo.com/file_download.php?file_id=12588&type=bug
png

patch issue 40086 mobilecore fix.patch (1,549) 2019-02-01 08:13
https://issues.openbravo.com/file_download.php?file_id=12594&type=bug
Issue History
2019-01-31 13:26JONHMNew Issue
2019-01-31 13:26JONHMAssigned To => Retail
2019-01-31 13:26JONHMFile Added: Screenshot from 2019-01-31 13-25-49.png
2019-01-31 13:26JONHMRegression date => 2019-02-07
2019-01-31 13:26JONHMTriggers an Emergency Pack => No
2019-01-31 13:31JONHMRegression introduced in release => RR18Q1.3
2019-01-31 13:44JONHMSummaryIn remote mode, the search on advance BP selector do not clear the filters => In remote mode, the search on advance BP selector does not clear the filters
2019-01-31 13:44JONHMDescription Updatedbug_revision_view_page.php?rev_id=18240#r18240
2019-01-31 13:51ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-01-31 13:51ranjith_qualiantech_comStatusnew => scheduled
2019-02-01 08:13ranjith_qualiantech_comFile Added: issue 40086 mobilecore fix.patch
2019-02-01 08:28ranjith_qualiantech_comRelationship addedrelated to 0040097
2019-02-02 07:34hgbotCheckin
2019-02-02 07:34hgbotNote Added: 0109442
2019-02-02 07:34hgbotStatusscheduled => resolved
2019-02-02 07:34hgbotResolutionopen => fixed
2019-02-02 07:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/53ec61cbfb0b44dd0dbc25765e15fa210765d28c [^]
2019-02-04 17:47jorge-garciaNote Added: 0109539
2019-02-04 17:47jorge-garciaStatusresolved => new
2019-02-04 17:47jorge-garciaResolutionfixed => open
2019-02-04 17:48jorge-garciaStatusnew => scheduled
2019-02-04 17:48jorge-garciaStatusscheduled => resolved
2019-02-04 17:48jorge-garciaFixed in Version => RR19Q2
2019-02-04 17:48jorge-garciaResolutionopen => fixed
2019-02-04 17:50jorge-garciaReview Assigned To => jorge-garcia
2019-02-05 06:19ranjith_qualiantech_comRegression level => Packaging and release
2019-02-05 06:19ranjith_qualiantech_comRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b249c950e647 [^]
2019-02-05 15:40jorge-garciaNote Added: 0109589
2019-02-05 15:40jorge-garciaStatusresolved => new
2019-02-05 15:40jorge-garciaResolutionfixed => open
2019-02-05 15:40jorge-garciaFixed in VersionRR19Q2 =>
2019-02-05 15:40jorge-garciaStatusnew => scheduled
2019-02-06 15:11hgbotCheckin
2019-02-06 15:11hgbotNote Added: 0109639
2019-02-06 15:14hgbotCheckin
2019-02-06 15:14hgbotNote Added: 0109641
2019-02-06 15:14hgbotStatusscheduled => resolved
2019-02-06 15:14hgbotResolutionopen => fixed
2019-02-06 15:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/53ec61cbfb0b44dd0dbc25765e15fa210765d28c [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bd0f19e74267b83ce40eb33ed6465e0022533990 [^]
2019-02-06 15:14hgbotCheckin
2019-02-06 15:14hgbotNote Added: 0109642
2019-02-07 09:56ranjith_qualiantech_comNote Deleted: 0109639
2019-02-11 02:31ranjith_qualiantech_comNote Added: 0109658
2019-02-11 02:31ranjith_qualiantech_comStatusresolved => new
2019-02-11 02:31ranjith_qualiantech_comResolutionfixed => open
2019-02-11 02:31ranjith_qualiantech_comStatusnew => scheduled
2019-02-11 13:06hgbotCheckin
2019-02-11 13:06hgbotNote Added: 0109664
2019-02-11 13:06hgbotCheckin
2019-02-11 13:06hgbotNote Added: 0109665
2019-02-11 13:06ranjith_qualiantech_comStatusscheduled => resolved
2019-02-11 13:06ranjith_qualiantech_comResolutionopen => fixed
2019-02-12 15:25jorge-garciaNote Added: 0109734
2019-02-12 15:25jorge-garciaStatusresolved => closed
2019-02-12 15:25jorge-garciaFixed in Version => RR19Q2
2019-02-28 14:37hgbotCheckin
2019-02-28 14:37hgbotNote Added: 0110121

Notes
(0109442)
hgbot   
2019-02-02 07:34   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 53ec61cbfb0b44dd0dbc25765e15fa210765d28c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Feb 02 12:04:02 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/53ec61cbfb0b44dd0dbc25765e15fa210765d28c [^]

Fixed issue 40086 : All FilterSelector Fields should be cleared even it is disabled

* 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-modaladvancedfilters.js
---
(0109539)
jorge-garcia   
2019-02-04 17:47   
Reopened to create backports
(0109589)
jorge-garcia   
2019-02-05 15:40   
Reopened to implement the logic to hide a combo filter in customer modal if the filter is disabled
(0109641)
hgbot   
2019-02-06 15:14   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: bd0f19e74267b83ce40eb33ed6465e0022533990
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Feb 06 19:44:17 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bd0f19e74267b83ce40eb33ed6465e0022533990 [^]

Fixed issue 40086 : Updated Filter Selector Table to use Filter with Selector Preference

* In Filter Selector Table, Filter Combo will be listed based on Entity Selector Preference

---
M web/org.openbravo.mobile.core/source/component/dialog/ob-advancedfilterselector.js
M web/org.openbravo.mobile.core/source/data/ob-model.js
---
(0109642)
hgbot   
2019-02-06 15:14   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1ee6378782bb1ebc20daeba387cc0006120282b6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Feb 06 19:44:28 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1ee6378782bb1ebc20daeba387cc0006120282b6 [^]

Related to issue 40086 : Updated Filter Selector Table to use Filter with Selector Preference

* Refactored to get Filter Properties with Entity Selector Preference

---
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
---
(0109658)
ranjith_qualiantech_com   
2019-02-11 02:31   
Reopened to refactor the AdvancedFilter Model
(0109664)
hgbot   
2019-02-11 13:06   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e44e2232018b8ee25f7fa469177fb5527d56d5d9
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 11 17:34:46 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e44e2232018b8ee25f7fa469177fb5527d56d5d9 [^]

Related to issue 40086 : 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
---
(0109665)
hgbot   
2019-02-11 13:06   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 882740b2a700eed878a7af68799836be9f76c0cd
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 11 17:35:28 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/882740b2a700eed878a7af68799836be9f76c0cd [^]

Related to issue 40086 : Refactored Advanced Filter Modal to use model filter conditions

* Filters properties is defined in parent of advanced filter selector popup

---
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
---
(0109734)
jorge-garcia   
2019-02-12 15:25   
Code reviewed and tested
(0110121)
hgbot   
2019-02-28 14:37   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d7e9e77cedd3e91b20f99b8a03f3986ccedf8e74
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Wed Feb 13 17:07:09 2019 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d7e9e77cedd3e91b20f99b8a03f3986ccedf8e74 [^]

[CrossStore] Hide Store sort button from filter model

Now the store sort button is hidden from filter model (issue 40086)

---
M src-db/database/sourcedata/AD_PREFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.retail.posterminal/js/model/orderfilter.js
M web/org.openbravo.retail.posterminal/js/model/orders-for-verified-returns-filter.js
---