コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1281 ビュー

Using EEv15

A very simple QWEB report to print Scope of Work for Service items has incorrect pagination after first page, the report content  from the second page onward is covered by the header. I have tried numerous things without success.

Here is the report code:


           
           

               

                   


                        Scope of Work #
                       
                   


                   

                   
                       
                           
                               
                           
                       
                       
                       
                           
                       
                       
                   

                                   
                           

               

           

           
       
       
           
               
                   
               
           
       

and images of report as follows:
https://imgbox.com/bg47WnNy
https://imgbox.com/ru41CufC



アバター
破棄
著作者

not sure what went wrong with the code ...

<template id="report_bay_sow_document">
<t t-call="web.external_layout">
<div class="page">
<div class="oe_structure">
<h2 class="mt16 text-center">
Scope of Work #
<span t-field="doc.name" />
</h2>
<hr />
<table class="table table-sm o_main_table">
<thead style="background-color:#f5f3f3">
<tr>
<th name="th_scopedescription" class="text-left"><span t-field="doc.bay_fsmdesc"/></th>
</tr>
</thead>
<tbody class="sale_tbody">
<tr t-foreach="doc.fsm_order_ids" t-as="table_line">
<td name="td_templatename">
<span t-raw="table_line.todo" />
</td>
</tr>
</tbody>
</table>
</div>
</div>
</t>
</template>
<template id="report_bay_sow">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="doc">
<t t-call="baysow.report_bay_sow_document" />
</t>
</t>
</template>

関連投稿 返信 ビュー 活動
1
5月 24
1663
1
4月 25
1232
2
3月 25
1396
4
11月 24
7097
1
3月 24
2027