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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031212
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminorhave not tried2015-10-22 08:382015-11-08 09:13
ReportermtaalView Statuspublic 
Assigned Tomigueldejuana 
PrioritynormalResolutionfixedFixed in VersionRR16Q1
StatusclosedFix in branchFixed in SCM revisionef1d3cc98d32
ProjectionnoneETAnoneTarget VersionRR16Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomtaal
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031212: Add a preference to control how many products/bp/address/tickets are loaded when searching

DescriptionCurrently as a default we load 300 records to show in the search results.

This feature request is to make this configurable through a preference. As a default the preference does not need to be there, so use 300 in that case.
Steps To ReproduceLogin to webpos
search for products, bps, bp-addresses, tickets
see how many are shown
Proposed SolutionAdd a preference to control the number of data loaded in the search.

One preference can be used for all cases.

Add an automated test for this.

The feature needs to be documented somewhere here:
http://wiki.openbravo.com/wiki/Retail:Configuration_Guide [^]
(maybe add a new subsection, or add it to the remote data preferences only for now).
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0031398RR16Q1 closedmigueldejuana remote data queries for product and business partner show one more than the data limit 
has duplicate feature request 0030669RR16Q1 closedmtaal Set default pagesize back to 300 and override where needed in hgvol read cases 
causes defect 0034669RR17Q1 closedmigueldejuana ProcessHQLQuery returns duplicates causing errors when inserting data and really slow login with many products 

-  Notes
(0081316)
hgbot (developer)
2015-10-26 15:38

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7503f769b934d2052e5aaad4a20191e8dc98e608
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Oct 26 13:29:46 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7503f769b934d2052e5aaad4a20191e8dc98e608 [^]

Fixed issue 0031212: Add a preference to control how many products/bp/address/tickets are loaded when searching

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---
(0081318)
hgbot (developer)
2015-10-26 15:39

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5e7cd40ca87de1a48510bafe959f254c1b23b0f8
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Oct 26 13:30:34 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5e7cd40ca87de1a48510bafe959f254c1b23b0f8 [^]

Fixed issue 0031212: Add a preference to control how many products/bp/address/tickets are loaded when searching

---
M src-db/database/sourcedata/AD_REF_LIST.xml
---
(0081391)
hgbot (developer)
2015-10-30 08:28

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7f56ee2e32ec157889b48c1e1bf025d6abb6ce3e
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Oct 28 17:42:29 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7f56ee2e32ec157889b48c1e1bf025d6abb6ce3e [^]

Fixed issue 0031212: Add a preference to control how many products/bp/address/tickets are loaded when searching

- Backout previous change
- Share the limit between all queries in ProcessHQLQuery
- Add limit in remote queries and in queries to show UI info in scrollable tables

---
M src/org/openbravo/mobile/core/process/ProcessHQLQuery.java
M web/org.openbravo.mobile.core/source/data/ob-dal.js
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-product-browser.js
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
---
(0081392)
hgbot (developer)
2015-10-30 08:29

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ef1d3cc98d32a9f5c4a49bae1d2f1a437d52941c
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Oct 28 17:44:57 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ef1d3cc98d32a9f5c4a49bae1d2f1a437d52941c [^]

Fixed issue 0031212: Add a preference to control how many products/bp/address/tickets are loaded when searching

- Backout previous change
- Share the limit between all queries in ProcessHQLQuery
- Add limit in remote queries and in queries to show UI info in scrollable tables
- Add 3 preference (Order, Customer and Product)

---
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.retail.posterminal/js/components/businesspartner.js
M web/org.openbravo.retail.posterminal/js/components/modalmultiorders.js
M web/org.openbravo.retail.posterminal/js/components/modalpaidreceipts.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customers/customersadvancedsearch.js
---
(0081394)
hgbot (developer)
2015-10-30 08:33

Repository: tools/automation/pi-mobile
Changeset: 01f58d3d411552abf09653f926ae9a663a114da6
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Oct 30 08:32:45 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/01f58d3d411552abf09653f926ae9a663a114da6 [^]

Related to issue 0031212: Add a preference to control how many products/bp/address/tickets are loaded when searching

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/EnyoNode.java
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/HighVolSuite.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31212_SearchWithLimitPref.java
---
(0081577)
mtaal (manager)
2015-11-08 08:46

Hi,
I am reviewing and testing this but I noticed that in case of remote, if I set the preference to 2 that the customer and product search show 3 as a result.

For non-remote it works fine. Can you correct this?
(for the rest the code changes look fine)

gr. Martin
(0081578)
mtaal (manager)
2015-11-08 08:52

My previous remark has been entered as a separate issue to resolve.

https://issues.openbravo.com/view.php?id=31398 [^]
(0081579)
mtaal (manager)
2015-11-08 08:52

resolved
(0081580)
mtaal (manager)
2015-11-08 08:52

Reviewed and tested
(0081584)
hgbot (developer)
2015-11-08 09:13

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7389c8c6a1181f26d2ed3483b33cc7598f699180
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Nov 08 09:12:45 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7389c8c6a1181f26d2ed3483b33cc7598f699180 [^]

Related to issue 31212: Add a preference to control how many products/bp/address/tickets are loaded when searching
Corrected a tiny spelling mistake in the property name

---
M src-db/database/sourcedata/AD_REF_LIST.xml
---

- Issue History
Date Modified Username Field Change
2015-10-22 08:38 mtaal New Issue
2015-10-22 08:38 mtaal Assigned To => migueldejuana
2015-10-22 08:38 mtaal Triggers an Emergency Pack => No
2015-10-26 15:38 hgbot Checkin
2015-10-26 15:38 hgbot Note Added: 0081316
2015-10-26 15:38 hgbot Status new => resolved
2015-10-26 15:38 hgbot Resolution open => fixed
2015-10-26 15:38 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7503f769b934d2052e5aaad4a20191e8dc98e608 [^]
2015-10-26 15:39 hgbot Checkin
2015-10-26 15:39 hgbot Note Added: 0081318
2015-10-26 15:39 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7503f769b934d2052e5aaad4a20191e8dc98e608 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5e7cd40ca87de1a48510bafe959f254c1b23b0f8 [^]
2015-10-27 09:42 mtaal Relationship added has duplicate 0030669
2015-10-30 08:28 hgbot Checkin
2015-10-30 08:28 hgbot Note Added: 0081391
2015-10-30 08:28 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5e7cd40ca87de1a48510bafe959f254c1b23b0f8 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7f56ee2e32ec157889b48c1e1bf025d6abb6ce3e [^]
2015-10-30 08:29 hgbot Checkin
2015-10-30 08:29 hgbot Note Added: 0081392
2015-10-30 08:29 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7f56ee2e32ec157889b48c1e1bf025d6abb6ce3e [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ef1d3cc98d32a9f5c4a49bae1d2f1a437d52941c [^]
2015-10-30 08:33 hgbot Checkin
2015-10-30 08:33 hgbot Note Added: 0081394
2015-11-08 08:46 mtaal Note Added: 0081577
2015-11-08 08:46 mtaal Status resolved => new
2015-11-08 08:46 mtaal Resolution fixed => open
2015-11-08 08:52 mtaal Relationship added related to 0031398
2015-11-08 08:52 mtaal Status new => scheduled
2015-11-08 08:52 mtaal Note Added: 0081578
2015-11-08 08:52 mtaal Note Added: 0081579
2015-11-08 08:52 mtaal Status scheduled => resolved
2015-11-08 08:52 mtaal Fixed in Version => RR16Q1
2015-11-08 08:52 mtaal Resolution open => fixed
2015-11-08 08:52 mtaal Review Assigned To => mtaal
2015-11-08 08:52 mtaal Note Added: 0081580
2015-11-08 08:52 mtaal Status resolved => closed
2015-11-08 09:13 hgbot Checkin
2015-11-08 09:13 hgbot Note Added: 0081584
2016-12-01 16:38 mtaal Relationship added causes 0034669


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker