Skip to Content
Menu
This question has been flagged
4737 Zobrazenia

In my file sale_order.mako, i have a loop in a table that displays my products.

How to display my eleventh products on the second page ?

<table id="table">
    <tr page-break-inside: avoid;>
        <th>Référence</th>
        <th>Désignation</th>
        <th>Qté</th>
        <th>P.U.HT</th>
        <th>%REM</th>
        <th>Remise HT</th>
        <th>Montant HT</th>
        <th>TVA</th>
    </tr>
    %for l in o.order_line :

    <%
    if hasattr(l, 'order_line'):
        setLang(l.order_line.lang)
    %>
            <tr>
        <td ></td>
        <td ><strong>test</strong></td>
        <td ></td>
        <td ></td>
        <td ></td>
        <td ></td>
        <td ></td>
        <td ></td>
    </tr>

    <tr>
        <td style="text-align:left;">${Reference()}</td>
        <td style="text-align:left;">${NameArticle()}</td>
        <td style="text-align:right;">${l.product_uos_qty}</td>
        <td style="text-align:right;">${l.price_unit}</td>
        <td style="text-align:right;">${l.discount or ''}</td>
        <td style="text-align:right;">${l.discount or ''}</td>
        <td style="text-align:right;">${l.price_subtotal}</td>
        <td style="text-align:center;">0</td>
    </tr>
    %endfor


</table>
Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
apr 24
2435
11
dec 21
16366
0
jún 16
6488
12
apr 16
18514
1
mar 15
6578