Account: Incosistent headers in invoice report

Bug #1277613 reported by Leonardo Donelli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

The invoice report has different table headers for the first page and all the others page. that's because pto_header (the 'repeting' header) in account_print_invoice.rml is different than the 'normal' header (the one used in the first page).

pto_header:
    <pto_header><!-- Must be after setLang() -->
    <blockTable colWidths="202.0,87.0,71.0,57.0,42.0,71.0" style="Table7">
    <tr>
        <td><para style="terp_tblheader_Details"><b>Description</b></para></td>
        <td><para style="terp_tblheader_Details_Centre"><b>Taxes</b></para></td>
        <td><para style="terp_tblheader_Details_Centre"><b>Quantity</b></para></td>
        <td><para style="terp_tblheader_Details_Right"><b>Unit Price</b></para></td>
        <td><para style="terp_tblheader_Details_Right"><b>Disc.(%)</b></para></td>
        <td><para style="terp_tblheader_Details_Right"><b>Price</b></para></td>
    </tr>
    </blockTable>
    </pto_header>

normal header:
    <blockTable colWidths="185.0,70.0,80.0,60.0,50.0,85.0" style="Table7">
      <tr>
        <td>
          <para style="terp_tblheader_General"><b>Description</b></para>
        </td>
        <td>
          <para style="terp_tblheader_General_Centre"><b>Taxes</b></para>
        </td>
        <td>
          <para style="terp_tblheader_General_Right"><b>Quantity</b></para>
        </td>
        <td>
          <para style="terp_tblheader_General_Right"><b>Unit Price</b></para>
        </td>
        <td>
          <para style="terp_tblheader_General_Right"><b>Disc.(%)</b></para>
        </td>
        <td>
          <para style="terp_tblheader_General_Right"><b>Price</b></para>
        </td>
      </tr>
    </blockTable>

Notice how the colWidths param of the blockTable element
       and the style param of the para element
are different.

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.