Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ

Hi all,

I tried creating page break in sales quotation form between terms and conditions and invoice lines using conditional page break in sales_order.rml. When i print the form, page break is getting introduced after the invoice lines but in the next page where terms and conditions is printed i can see white space after few lines and again the content gets printed in the next page. I dont know why this happens.

This is the necessary part of the code

      <para style="terp_default_Bold_9"><b>Total :</b></para>
    </td>
    <td>
      <para style="terp_default_Right_9_Bold"><b>[[ formatLang(o.amount_total, dp='Account', currency_obj=o.pricelist_id.currency_id) ]]</b></para>
    </td>
  </tr>
</blockTable>
<para style="terp_default_8">
  <font color="white"> </font>
</para>

<condPageBreak height="22.0cm"/>

<para style="terp_default_9">[[ format(o.note or '') ]]</para>
<blockTable colWidths="533.0" style="Table7">
  <tr>
    <td>
      <para style="terp_default_9">[[ format(o.payment_term and o.payment_term.note or (o.partner_id.property_payment_term and o.partner_id.property_payment_term.note or '')) ]]</para>
    </td>
  </tr>
</blockTable>
<para style="terp_default_8">
  <font color="white"> </font>
</para>

</pto> </story>

It would be helpful if some one can guide me to introduce page breaks without getting any formatting problems in rml.

Thank you

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มี.ค. 15
9966
0
ก.ย. 15
4045
1
ส.ค. 24
1022
Sale Order Line Form Popup Odoo 14 แก้ไขแล้ว
1
ก.พ. 22
4464
4
ธ.ค. 23
11697