Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 15
9967
0
thg 9 15
4047
1
thg 8 24
1025
1
thg 2 22
4465
4
thg 12 23
11703