跳至內容
選單
此問題已被標幟
4658 瀏覽次數

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>
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
4月 24
2281
11
12月 21
16230
0
6月 16
6366
12
4月 16
18371
1
3月 15
6406