Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4604 Zobrazení

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šit
Related Posts Odpovědi Zobrazení Aktivita
2
dub 24
2251
11
pro 21
16188
0
čvn 16
6340
12
dub 16
18358
1
bře 15
6392