Friday, July 3, 2015

qweb report - table with column contain row number

something, when render a table, you need show row number as first column, just do it as:
     <tr t-foreach="o.order_line" t-as="line">
           <td>
                   <span t-esc="line_index + 1" />
           </td>

No comments:

Post a Comment