Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4762 Переглядів

In my report, I have really long name, so my page starts on the second page. How can I make it start on the first and then break at some point?

link to img

https://ibb.co/vJQpy51



<tbody class="invoice_tbody">
                    <tr t-foreach="get_lines(o, o.partner_id.lang)" t-as="l">
                        <td style="border: solid 1px; text-align: center;">
                            <span t-esc="l['line_number']"/>
                        </td>
                        <td style="border: solid 1px">
                            <span t-esc="l['name']"/> <span t-raw="l['warranty']"/> <span t-raw="l['sn']"/> <span t-raw="l['numbers']"/> <span t-raw="l['contract_info']"/> <span t-raw="l['note']"/>
                        </td>
                        <td class="text-right" style="border: solid 1px">
                            <span t-esc="'%.4f'%(l['price_unit'])"/>
                        </td>
                        <td class="text-right" style="border: solid 1px; text-align: center;">
                            <span t-esc="l['uom_name']"/>
                        </td>
                        <td class="text-right" style="border: solid 1px">
                            <span t-esc="'%.2f'%(l['quantity'] * get_sign(o))"/>
                        </td>
                        <td class="text-right" style="border: solid 1px" t-if="display_discount(o)">
                            <span t-esc="'%.2f'%(l['discount'])"/>
                        </td>
                        <td class="text-right" style="border: solid 1px">
                            <span t-esc="'%.2f'%(l['price_subtotal'] * get_sign(o))"/> <span t-esc="convert_eur(float('%.2f'%(l['price_subtotal']))) and '/' + convert_eur(float('%.2f'%(l['price_subtotal'] * get_sign(o))))"/>
                        </td>
                    </tr>
                </tbody>



Аватар
Відмінити
Найкраща відповідь

You may use style="page-break-after:always". 

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
бер. 16
3525
1
серп. 23
1743
1
бер. 24
4947
1
вер. 21
9943
0
квіт. 20
3677