Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009773Openbravo ERP09. Financial managementpublic2009-05-13 18:542009-07-13 10:53
networkb 
rafaroda 
immediatemajoralways
closedfixed 
5
2.40MP3 
2.40MP32.40MP7 
OBPS
Core
No
0009773: General Ledger Report executed with "show all" doesn't respect column's width
When executing General Ledger Report with option "show all" selected, minimum width of columns is not respected.
 
See image attached
(For example: columns with no data in description field are not 75% width)
1. Financial Management || Accounting || Analysis Tools || General Ledger Report
2. Check "show all" and execute the report clicking "HTML format" button
No tags attached.
blocks defect 00090272.40MP3 closed rafaroda General Ledger Report executed with "show all" doesn't respect column's width  
png WithoutFix.png (169,624) 2009-07-08 10:56
https://issues.openbravo.com/file_download.php?file_id=1523&type=bug
png

png WithFix.png (171,669) 2009-07-08 10:56
https://issues.openbravo.com/file_download.php?file_id=1524&type=bug
png
Issue History
2009-07-06 08:54rafarodaTypedefect => backport
2009-07-06 08:54rafarodafix_in_branch => 2.40
2009-07-07 12:07vmromanosNote Added: 0017962
2009-07-07 12:07vmromanosAssigned Todalsasua => networkb
2009-07-07 12:07vmromanosStatusscheduled => feedback
2009-07-08 10:55rafarodaNote Added: 0018010
2009-07-08 10:55rafarodaAssigned Tonetworkb => rafaroda
2009-07-08 10:55rafarodaStatusfeedback => new
2009-07-08 10:56rafarodaFile Added: WithoutFix.png
2009-07-08 10:56rafarodaFile Added: WithFix.png
2009-07-08 10:56rafarodaStatusnew => acknowledged
2009-07-10 16:04hgbotCheckin
2009-07-10 16:04hgbotNote Added: 0018111
2009-07-10 16:04hgbotStatusacknowledged => resolved
2009-07-10 16:04hgbotResolutionopen => fixed
2009-07-10 16:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/734f9dcca809b92925e11d315fa29289ed98076d [^]
2009-07-13 10:52psarobeFixed in Version => 2.40MP7
2009-07-13 10:53psarobeStatusresolved => closed
2009-07-13 10:53psarobeNote Added: 0018155

Notes
(0017962)
vmromanos   
2009-07-07 12:07   
It seems that the bug is already fixed in the customer's environment and, from Engineering, we have decided not to change core. Shall we close the bug or do you need more clarifications?
(0018010)
rafaroda   
2009-07-08 10:55   
I do agree that ReportGeneralLedger.html has an issue in lines:
<div id="sectionPartner">
  <table border="1" cellspacing="0" cellpadding="0" width="90%" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
    <tr class="DataGrid_Body_Row">
      <td width="100%" class="DataGrid_Header_Cell">Customer
         <span id="fieldPartner2"></span></td>
    </tr>

which should be replaced by:
<div id="sectionPartner">
  <table border="1" cellspacing="0" cellpadding="0" width="90%" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
    <tr class="DataGrid_Body_Row">
      <td colspan="5" class="DataGrid_Header_Cell">Customer
        <span id="fieldPartner2"></span></td>
    </tr>

The current behavior looks like WithoutFix.png where the Date column takes too much width.

Applying the fix, WithFix.png, Date column takes a reasonable width but Description cell keeps being the one on which the other cells' width are based.
(0018111)
hgbot   
2009-07-10 16:04   
Repository: erp/stable/2.40
Changeset: 734f9dcca809b92925e11d315fa29289ed98076d
Author: Rafa Roda Palacios <rafael.roda <at> openbravo.com>
Date: Fri Jul 10 15:58:01 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/734f9dcca809b92925e11d315fa29289ed98076d [^]

Fixes issue 0009773 Replaced width=\"100%\" by colspan=\"5\" to construct ReportGeneralLedger.html properly.

---
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.html
---
(0018155)
psarobe   
2009-07-13 10:53   
It looks like the withfix.png