Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022073Openbravo ERPB. User interfacepublic2012-10-23 13:392013-04-16 19:18
sureshbabu 
AugustoMauch 
lowtrivialalways
closedfixed 
5
3.0MP13 
3.0MP23 
shankarb
Google Chrome
User Interface Application
No
0022073: [Reliability] Tab Focus not properly set in purchase invoice, header tab in grid view.
Tab Focus not properly set in purchase invoice, header tab in grid view.

steps to reproduce:

1) Navigate to Purchase invoice
2) In grid view,click Ctrl + i to create a new row.
3) Then select the BP, after selecting the BP, Press enter key.
4) New row will be inserted,

One can find, the new record will be editable mode, but the tab focus not set, one has to enter the tab key to bring the focus to the record

found this issue in Mp13 and Mp14
Tab Focus not properly set in purchase invoice, header tab in grid view.

steps to reproduce:

1) Navigate to Purchase invoice
2) In grid view,click Ctrl + i to create a new row.
3) Then select the BP, after selecting the BP, Press enter key.
4) New row will be inserted,

One can find, the new record will be editable mode, but the tab focus not set, one has to enter the tab key to bring the focus to the record

found this issue in Mp13 and Mp14
No tags attached.
Issue History
2012-10-23 13:39sureshbabuNew Issue
2012-10-23 13:39sureshbabuAssigned To => dbaz
2012-10-23 13:39sureshbabuWeb browser => Google Chrome
2012-10-23 13:39sureshbabuModules => User Interface Application
2013-04-10 11:09AugustoMauchAssigned Todbaz => AugustoMauch
2013-04-10 11:09AugustoMauchIssue Monitored: shankarb
2013-04-10 11:10AugustoMauchReview Assigned To => shankarb
2013-04-10 11:10AugustoMauchWeb browserGoogle Chrome => Google Chrome
2013-04-10 11:10AugustoMauchTriggers an Emergency Pack => No
2013-04-10 11:11hgbotCheckin
2013-04-10 11:11hgbotNote Added: 0057824
2013-04-10 11:11hgbotStatusnew => resolved
2013-04-10 11:11hgbotResolutionopen => fixed
2013-04-10 11:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d36079a788dd7901deaf21d2b33136b9ab415d03 [^]
2013-04-14 15:18shankarbNote Added: 0057877
2013-04-14 15:18shankarbStatusresolved => closed
2013-04-14 15:18shankarbFixed in Version => 3.0MP23
2013-04-16 19:18hudsonbotCheckin
2013-04-16 19:18hudsonbotNote Added: 0057956

Notes
(0057824)
hgbot   
2013-04-10 11:11   
Repository: erp/devel/pi
Changeset: d36079a788dd7901deaf21d2b33136b9ab415d03
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Apr 10 11:05:37 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d36079a788dd7901deaf21d2b33136b9ab415d03 [^]

Fixes issue 22246, fixes issue 22073: Prevents false validation error

When a new line is created while another line is being edited, the function hideInlineEditor of ob-view-grid is called. In this method the values of the form are cleared. The root cause of this problem is that even though the values of the fields are cleared, the property _editorEnterValue of selectors and fk items is not cleared. This results that the value of those fields is different than the value of its _editorEnterValue property, so the validation is done, and in this particular case it fails because the field is mandatory and its value is null.

This has been fixed by clearing the _editorEnterValue property of selectors and fk fields when their values are being cleared.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk.js
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0057877)
shankarb   
2013-04-14 15:18   
Code reviewed and tested in pi changest af8bd60362ce
(0057956)
hudsonbot   
2013-04-16 19:18   
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/8df08bea850d [^]

Maturity status: Test