In Odoo 13, when doing a pdf report print how to assign page break for a table such that it occurs in the beggining or end of a row

Currently, when trying to print a report where there are more table records than a single page can contain, the table will be split across multiple pages. The split occurs at whatever point reaches the bottom margin, which predictably happens in the middle of a table row and splits its contents across two pages (example shown below).
I would like to modify this functionalitysuch that when reaching the bottom margin, a break always happens between records instead.

Following report template is used for the final print. The portion of code which indicates the main report table is encircled by xml comments

<template id="outgoing_report_template">
        <t t-call="web.html_container">
            <t t-call="web.external_layout">
                <div class="page">
                    <style>
                        .table-black-border {
                            border: 3px solid black;
                            border-collapse: collapse;
                            width: 100%;
                        }
                        .table-black-border th, .table-black-border td {
                            border: 1px solid black;
                            padding: 10px;
                            text-align: center;
                            font-size: 16px;

                        }
                    </style>

                    <img src="/custom_inventory/static/src/images/logo.png" alt="logo" width="150px" height="150px" style="float:left;margin-left:600px"/>

                    <table dir="rtl" style="text-align:center;font-size:20px;margin-left:auto;" width="30%">
                        <tr>
                            <td>
                                <span>الوزارة/الدائرة ________________________</span>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span><![CDATA[ ]]></span>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span><![CDATA[ ]]></span>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <pre style="border:none;">رقم          ل</pre>
                            </td>
                        </tr>
                    </table>

                    <!-- Main report content -->
                    <table dir="rtl" style="text-align:center;" width="100%">
                        <tr>
                            <th colspan="4" style="font-size:48px;">
                                <span><u>مستند الاخراجات</u></span>
                            </th>
                        </tr>
                        <tr>
                            <td>
                                <span><![CDATA[ ]]></span>
                            </td>
                        </tr>
                        <tr style="font-size:16px;">
                            <td>
                                <span>صرف الى _______________________</span>
                            </td>
                            <td>
                                <span>من قبل ________________________</span>
                            </td>
                            <td>
                                <span>للسيد ________________________</span>
                            </td>
                            <td>
                                <span>التاريخ ________________________</span>
                            </td>
                        </tr>
                        <tr>
                            <td><span><![CDATA[ ]]></span></td>
                        </tr>
                        <tr style="font-size:16px;">
                            <td><span>بموجب طلب اللوازم رقم ________________________</span></td>
                            <td><span>تاريخ ________________________</span></td>
                            <td><span>موقع من ________________________</span></td>
                            <td><span>توقيع مأمور المستودع ________________________</span></td>
                        </tr>
                    </table>

                    <br/><br/>

                    <!--main report table start-->
                    <table class="table-black-border" style="float:right;" dir="RTL" width="100%">
                        <thead>
                            <tr>
                                <th rowspan="2" width="15%"><span>رقم التسجيل</span></th>
                                <th rowspan="2"><span>نوع اللوازم و وصفها</span></th>
                                <th rowspan="2"><span>الوحدة</span></th>
                                <th rowspan="2"><span>الكمية</span></th>
                                <th colspan="2"><span>سعر الوحدة</span></th>
                                <th colspan="2"><span>سعر الاجمالي</span></th>
                                <th rowspan="2"><span>الرصيد</span></th>
                                <th rowspan="2"><span>خانة التخزين</span></th>
                                <th rowspan="2"><span>الكمية المصروفة كتابة</span></th>
                            </tr>
                            <tr>
                                <th><span>فلس</span></th>
                                <th><span>دينار</span></th>
                                <th><span>فلس</span></th>
                                <th><span>دينار</span></th>
                            </tr>
                        </thead>
                        <tr t-foreach="docs.move_ids_without_package" t-as="move_line">
                            <td><span t-field="move_line.reference"/></td>
                            <td><span t-field="move_line.product_id"/></td>
                            <td><span t-field="move_line.product_uom"/></td>
                            <td><span t-esc="('%d' %(move_line.product_uom_qty))"/></td>
                            <td>
                                <div t-if="docs.origin">
                                    <span t-esc="('%d' %(docs.get_report_price_unit(docs.origin, move_line.product_id.name) % 1 * 1000))"/>
                                </div>
                                <div t-if="not docs.origin">
                                    <span t-esc="('%d' %(move_line.product_id.product_tmpl_id.list_price % 1 * 1000))"/>
                                </div>
                            </td>
                            <td>
                                <div t-if="docs.origin">
                                    <span t-esc="('%d' %(docs.get_report_price_unit(docs.origin, move_line.product_id.name)))"/>
                                </div>
                                <div t-if="not docs.origin">
                                    <span t-esc="('%d' %(move_line.product_id.product_tmpl_id.list_price))"/>
                                </div>
                            </td>
                            <td>
                                <div t-if="docs.origin">
                                    <span t-esc="('%d' %(docs.get_report_price_subtotal(docs.origin, move_line.product_id.name) % 1 * 1000))"/>
                                </div>
                                <div t-if="not docs.origin">
                                    <span t-esc="('%d' %(move_line.product_id.product_tmpl_id.list_price * move_line.product_uom_qty % 1 * 1000))"/>
                                </div>
                            </td>
                            <td>
                                <div t-if="docs.origin">
                                    <span t-esc="('%d' %(docs.get_report_price_subtotal(docs.origin, move_line.product_id.name)))"/>
                                </div>
                                <div t-if="not docs.origin">
                                    <span t-esc="('%d' %(move_line.product_id.product_tmpl_id.list_price * move_line.product_uom_qty))"/>
                                </div>
                            </td>
                            <td><span t-field="move_line.location_id.name"/></td>
                            <td><span t-field="move_line.location_dest_id.name"/></td>
                            <td><span t-esc="docs.number2words(move_line.quantity_done)"/></td>
                        </tr>
                    </table>
                    <!--main report table end-->

                    <br/><span><![CDATA[ ]]></span><br/>

                    <table dir="rtl" style="font-size:20px;text-align:center;" width="100%">
                        <tr>
                            <td>تاريخ ________________________</td>
                            <td>الوظيفة ________________________</td>
                            <td>إسم المستلم ________________________</td>
                        </tr>
                        <tr>
                            <td><span><![CDATA[ ]]></span></td>
                        </tr>
                        <tr>
                            <td>نسخة المحاسب ________________________</td>
                            <td></td>
                            <td>توقيع المستلم ________________________</td>
                        </tr>
                        <tr>
                            <td><span><![CDATA[ ]]></span></td>
                        </tr>
                        <tr>
                            <td>قرار رقم ________________________</td>
                            <td></td>
                            <td>تاريخ ________________________</td>
                        </tr>
                    </table>
                </div>
            </t>
        </t>
    </template>
</odoo>

You can loop the records, specify how many lines one page should contain then use

<p style="page-break-before:always;"> </p>

when the counted line reach the maximum lines you specified.

1

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật