Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026316Openbravo ERPB. User interfacepublic2014-04-18 08:122014-05-07 18:11
sureshbabu 
dbaz 
immediatemajoralways
closedfixed 
5
 
3.0PR14Q2 
alostale
Core
Packaging and release
2014-02-07
https://code.openbravo.com/erp/devel/pi/rev/09050a5b416213987340319de2dba42c481ca18e [^]
No
0026316: Status bar fields not shown when saving a view in grid view
Status bar fields not shown when saving a view in grid view
<Precondition: Activate the instance before executing below test steps>
Login with:
"User name": Openbravo
"Password": openbravo
Change role to QA Testing Admin
Go to Sales management || Transactions || Sales Order window
In the grid view, select the Column Header context menu, and select Columns option
Then uncheck the column Currency
Save the view by clicking the save view icon from tool bar
In the Save view dialog box, enter Save as: Test_View and click Save button
Then again click Save view icon, and verify a small arrow appears in front of Test_View
Then open a new record in Form View by clicking Ctrl + D
Verify Status Bar appears, with Value “*New”
Then enter CUSA in Business partner field and press Enter key
Then click Ctrl + S to save the record
In the status bar
"Document Status": Draft
"Total Gross Amount": 0.00
"Total Net Amount": 0.00
"Currency": EUR
“Delivery Status”: 0%
"Invoice Status”": 0%
 
Then Click Save&Close button in the toolbar to save and close the record
Change the view to Standard view, by clicking the save view icon and select Standard option
Then again click Save View icon, and verify a small arrow appears in front of Standard option
Again open the record in form view by clicking the Enter key after selecting the record
And verify status bar appears in the screen
Status bar appears in the screen with below details

Expected result:

 In the status bar

"Document Status": Draft
"Total Gross Amount": 0.00
"Total Net Amount": 0.00
"Currency": EUR
“Delivery Status”: 0%
"Invoice Status”": 0%


Actual Result:
In status bar fields not shown..
No tags attached.
png Status bar fields not shown when saving a view in grid view.png (130,678) 2014-04-18 08:12
https://issues.openbravo.com/file_download.php?file_id=6861&type=bug
png
Issue History
2014-04-18 08:12sureshbabuNew Issue
2014-04-18 08:12sureshbabuAssigned To => dbaz
2014-04-18 08:12sureshbabuFile Added: Status bar fields not shown when saving a view in grid view.png
2014-04-18 08:12sureshbabuModules => Core
2014-04-18 08:12sureshbabuTriggers an Emergency Pack => No
2014-04-21 15:15dbazReview Assigned To => alostale
2014-04-21 15:15dbazRegression level => Packaging and release
2014-04-21 15:15dbazRegression date => 2014-02-07
2014-04-21 15:15dbazRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/09050a5b416213987340319de2dba42c481ca18e [^]
2014-04-21 15:15dbazIssue Monitored: alostale
2014-04-21 15:27dbazNote Added: 0066517
2014-04-21 15:27hgbotCheckin
2014-04-21 15:27hgbotNote Added: 0066519
2014-04-21 15:27hgbotStatusnew => resolved
2014-04-21 15:27hgbotResolutionopen => fixed
2014-04-21 15:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cb6171e6cd94ffc8e2004c26159a82f60fc35de3 [^]
2014-04-23 08:55alostaleNote Added: 0066544
2014-04-23 08:55alostaleStatusresolved => closed
2014-04-23 08:55alostaleFixed in Version => PR14Q2
2014-05-07 18:11hudsonbotCheckin
2014-05-07 18:11hudsonbotNote Added: 0066953

Notes
(0066517)
dbaz   
2014-04-21 15:27   
The following flow is executed in the window view setup(ob-standard-view.js):

readWindowSettings
setWindowSettings
setPersonalization
OB.Personalization.getViewDefinition
OB.Personalization.getPersonalizationDataFromForm

and in this last step, the form fields are required to consolidate the personalization data. The problem is that the viewForm is not yet ready due to the lazy evaluation of the viewForm (issue 24705)
(0066519)
hgbot   
2014-04-21 15:27   
Repository: erp/devel/pi
Changeset: cb6171e6cd94ffc8e2004c26159a82f60fc35de3
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Mon Apr 21 15:19:02 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cb6171e6cd94ffc8e2004c26159a82f60fc35de3 [^]

Fixed issue 26316: Status bar fields are shown again in saved views
Related to issue 24705: 'getPersonalizationDataFromForm' now takes into account existing form fields

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-manage-views.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/personalization/ob-personalization.js
---
(0066544)
alostale   
2014-04-23 08:55   
code reviewed + tested
(0066953)
hudsonbot   
2014-05-07 18:11   
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/02ca2648bcdc [^]
Maturity status: Test