Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022655Openbravo ERP09. Financial managementpublic2012-12-21 10:352013-03-05 09:30
jecharri 
AugustoMauch 
urgentminoralways
closedfixed 
5
 
3.0MP213.0MP21 
shankarb
Google Chrome
Core
No
0022655: Display problems in window G/L Journal window
Display problems in window G/L Journal window. The button "POST" is not displayed until you open the record in form view.
-go to window "G/L Journal"
-select a "G/L Journal" record and after that a header.
-verify that you do not see the button "POST"
-open the record in form view
-now, you are able to see the button.
No tags attached.
has duplicate defect 0022851 closed AugustoMauch Tab line that has a button (P&E) is not showing it when the tab does only have one record 
Issue History
2012-12-21 10:35jecharriNew Issue
2012-12-21 10:35jecharriAssigned To => dmiguelez
2012-12-21 10:35jecharriWeb browser => Google Chrome
2012-12-21 10:35jecharriModules => Core
2012-12-21 10:35jecharriResolution time => 1330988400
2012-12-21 10:35jecharriTriggers an Emergency Pack => No
2012-12-21 13:03dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-01-24 11:14jonalegriaesarteWeb browserGoogle Chrome => Google Chrome
2013-01-24 11:14jonalegriaesarteTarget Version3.0MP20 => 3.0MP21
2013-02-20 14:49jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2013-03-04 10:00ioritzCiaRelationship addeddepends on 0022851
2013-03-04 10:01ioritzCiaNote Added: 0056957
2013-03-04 10:01ioritzCiaAssigned ToioritzCia => AugustoMauch
2013-03-04 12:53AugustoMauchRelationship replacedhas duplicate 0022851
2013-03-04 12:55AugustoMauchIssue Monitored: shankarb
2013-03-04 12:55AugustoMauchReview Assigned To => shankarb
2013-03-04 12:55AugustoMauchWeb browserGoogle Chrome => Google Chrome
2013-03-04 12:56hgbotCheckin
2013-03-04 12:56hgbotNote Added: 0056995
2013-03-04 12:56hgbotStatusnew => resolved
2013-03-04 12:56hgbotResolutionopen => fixed
2013-03-04 12:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b9dcfdaae170510c27e26433c77b76bb96903b6c [^]
2013-03-04 13:37shankarbNote Added: 0057003
2013-03-04 13:37shankarbStatusresolved => closed
2013-03-04 13:37shankarbFixed in Version => 3.0MP21
2013-03-05 09:30hudsonbotCheckin
2013-03-05 09:30hudsonbotNote Added: 0057023

Notes
(0056957)
ioritzCia   
2013-03-04 10:01   
Just refreshing the record tab shows the post/unpost button.
(0056995)
hgbot   
2013-03-04 12:56   
Repository: erp/devel/pi
Changeset: b9dcfdaae170510c27e26433c77b76bb96903b6c
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Mar 04 12:52:56 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b9dcfdaae170510c27e26433c77b76bb96903b6c [^]

Fixes bug 22655, fixes bug 22851. Display logic works correct with one record.

When a record is clicked, it is selected and a call to the FIC is done in SETSESSION mode. This call returns with the form session variables. The problem is th
at when there is only one row in the grid, it is automatically selected and no call to the FIC is done in SETSESSION mode.

This was happening in this issue, so the button whose display logic used session variables was not working properly. Only when the grid was refreshed the call
to the FIC is SETSESSION mode was done.

This has been fixed by making a call to updateButtonState(false, false, true) when data is received from the dataset being returned only one row. This call wil
l result in a call to the fic in SETSESSION mode. The first argument ensures that the SETSESSION call is made, the second one is not used and the third one ens
ures that the call is made even if the view is being updated is not the active one.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0057003)
shankarb   
2013-03-04 13:37   
Code reviewed and verified in pi changeset b9dcfdaae170
(0057023)
hudsonbot   
2013-03-05 09:30   
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/e5bdfce74ee2 [^]

Maturity status: Test