Odoo Help


how to put a page break in a table with webkit ?!

on 1/17/14, 11:48 AM 1,448 views

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>Remise HT</th>
        <th>Montant HT</th>
    %for l in o.order_line :

    if hasattr(l, 'order_line'):
        <td ></td>
        <td ><strong>test</strong></td>
        <td ></td>
        <td ></td>
        <td ></td>
        <td ></td>
        <td ></td>
        <td ></td>

        <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>


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 1/17/14, 11:48 AM
Seen: 1448 times
Last updated: 3/16/15, 8:10 AM