Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018075Openbravo ERPB. User interfacepublic2011-07-25 17:062011-08-02 13:05
plujan 
mtaal 
immediatemajorhave not tried
closedfixed 
5
 
 
Core
No
0018075: Automatic focus change shows only one available option in combo boxes
Because of the automatic focus change, if the field receiving focus is a combo with a value it displays only the already selected option.
This could be misinterpreted by a user, since it seems like only one option is available (see attach)

Also, smoke tests' behaviour is to click the button to display the list, and since the list was already displayed by the automatic focus change, no list is shown and the value "Dec-10" is still missing.
1. Go to Open Close Periods and create a new record
2. Select a Year
3. The focus moves to Until Period, and the value Jan-xx is shown as the only available option. See attach.
4. Click the button to display the list. Since the list was shown, now it disappears.
5. Click again button, now the list is showing all the available values.
No tags attached.
duplicate of defect 00260433.0PR14Q2 closed alostale blur triggers selector ds request without pagination 
related to defect 0018076 closed mtaal On tax rate, the base amount selected value disappears 
png AutomaticFocusChange.PNG (47,666) 2011-07-25 17:06
https://issues.openbravo.com/file_download.php?file_id=4389&type=bug
png
Issue History
2011-07-25 17:06plujanNew Issue
2011-07-25 17:06plujanAssigned To => mtaal
2011-07-25 17:06plujanFile Added: AutomaticFocusChange.PNG
2011-07-25 17:06plujanModules => Core
2011-07-26 08:35elopioRelationship addedrelated to 0018076
2011-07-26 16:08hgbotCheckin
2011-07-26 16:08hgbotNote Added: 0039388
2011-07-26 16:08hgbotStatusnew => resolved
2011-07-26 16:08hgbotResolutionopen => fixed
2011-07-26 16:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/08f573d7fca6eab32cce9d15c6f6642c42a40c79 [^]
2011-07-27 06:05hgbotCheckin
2011-07-27 06:05hgbotNote Added: 0039419
2011-08-01 14:21hudsonbotCheckin
2011-08-01 14:21hudsonbotNote Added: 0039685
2011-08-01 14:21hudsonbotCheckin
2011-08-01 14:21hudsonbotNote Added: 0039699
2011-08-02 13:05marvintmStatusresolved => closed
2014-03-21 09:43alostaleRelationship addedduplicate of 0026043

Notes
(0039388)
hgbot   
2011-07-26 16:08   
Repository: erp/devel/pi
Changeset: 08f573d7fca6eab32cce9d15c6f6642c42a40c79
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Jul 26 16:06:34 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/08f573d7fca6eab32cce9d15c6f6642c42a40c79 [^]

Fixes issue 18075: Automatic focus change shows only one available option in combo boxes
The option addUnknowValues was set to false to prevent a red label in some cases, this caused the picklist to show up because of some SC internal logic

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
---
(0039419)
hgbot   
2011-07-27 06:05   
Repository: erp/devel/pi
Changeset: a9fcfad12078be70a9ffeb8780e83b2c3b379881
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jul 27 06:04:45 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a9fcfad12078be70a9ffeb8780e83b2c3b379881 [^]

Related to issue 18075: Automatic focus change shows only one available option in combo boxes
Do not set addUnknownValues as this sometimes causes the picker to showup
Also removed selectOnFocus as this is now controlled on form level

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0039685)
hudsonbot   
2011-08-01 14:21   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf2afed6e8ef [^]

Maturity status: Test
(0039699)
hudsonbot   
2011-08-01 14:21   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf2afed6e8ef [^]

Maturity status: Test