Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010739Openbravo ERP09. Financial managementpublic2009-09-24 13:192009-10-08 00:00
gorkaion 
gorkaion 
normalminoralways
closedfixed 
5
 
2.50MP72.50MP7 
Core
No
0010739: Trial Balance Report: AccountTo drop-down doesn't select last account by default
In Financial Management || Accounting || Analysis Tools || Trial Balance Report || Trial Balance Report

The "To Account" drop-down should have the last account selected by default.
Go to Financial Management || Accounting || Analysis Tools || Trial Balance Report || Trial Balance Report

Set the From and To Date fields.
Set account level to "Subaccount" so the From and To account fields are visible.

Select the Accounting Schema. From and To Account drop-downs are populated and the To account should have the last item selected.
Add these lines in the refreshAccounts javascript method of ReportTrialBalance.hthml file before the return:

  if (cmbAccountTo.options.length > 0)
    cmbAccountTo.options[cmbAccountTo.options.length-1].selected = true;
No tags attached.
Issue History
2009-09-24 13:19gorkaionNew Issue
2009-09-24 13:19gorkaionAssigned To => gorkaion
2009-09-24 13:20gorkaionStatusnew => scheduled
2009-09-24 13:20gorkaionfix_in_branch => pi
2009-09-24 13:46hgbotCheckin
2009-09-24 13:46hgbotNote Added: 0020339
2009-09-24 13:46hgbotStatusscheduled => resolved
2009-09-24 13:46hgbotResolutionopen => fixed
2009-09-24 13:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3ab00d0c5063b42fd4b07d4eff372552e02d283c [^]
2009-09-29 14:18hgbotCheckin
2009-09-29 14:18hgbotNote Added: 0020510
2009-09-29 14:18hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/3ab00d0c5063b42fd4b07d4eff372552e02d283c [^] => http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/3ab00d0c5063b42fd4b07d4eff372552e02d283c [^]
2009-10-07 08:57sureshbabuStatusresolved => closed
2009-10-07 08:57sureshbabuNote Added: 0020810
2009-10-07 08:57sureshbabuFixed in Version => 2.50MP7
2009-10-08 00:00anonymoussf_bug_id0 => 2874369

Notes
(0020339)
hgbot   
2009-09-24 13:46   
Repository: erp/devel/pi
Changeset: 3ab00d0c5063b42fd4b07d4eff372552e02d283c
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Thu Sep 24 13:45:43 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3ab00d0c5063b42fd4b07d4eff372552e02d283c [^]

Fixed issue 10739. last account selected by default in AccountTo field.

---
M src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html
---
(0020510)
hgbot   
2009-09-29 14:18   
Repository: erp/devel/pi-pageddatagrid
Changeset: 3ab00d0c5063b42fd4b07d4eff372552e02d283c
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Thu Sep 24 13:45:43 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/3ab00d0c5063b42fd4b07d4eff372552e02d283c [^]

Fixed issue 10739. last account selected by default in AccountTo field.

---
M src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html
---
(0020810)
sureshbabu   
2009-10-07 08:57   
Tested working fine, From and To Account drop-downs are populated and the To account listed the last item selected.