콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4734 화면

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
2419
11
12월 21
16348
0
6월 16
6478
12
4월 16
18507
1
3월 15
6560