Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

how to control pto header in next page

By
gpkarthick
on 8/25/13, 3:43 AM 939 views

If there is no product in next page header will not come in next page, if there header will come here i pasted my code what i do in this can ony one help me, please

<pto_header> <blocktable colwidths="30.0,70.0,210.0,75.0,75.0,75.0" rowheights="0.8cm" repeatrows="1" style="Table1"> <para style="terp_tblheader_General_Centre" fontsize="10" fontname="Times-Roman">POS</para>
<para style="terp_tblheader_Details_Centre" fontsize="10" fontname="Times-Roman">Item</para>
<para style="terp_tblheader_Details_Centre" fontsize="10" fontname="Times-Roman">Description</para>
<para style="terp_tblheader_Details_Centre" fontsize="10" fontname="Times-Roman">Quantity</para> <para style="terp_tblheader_Details_Centre" fontsize="10" fontname="Times-Roman">Price</para> <para style="terp_tblheader_Details_Centre" fontsize="10" fontname="Times-Roman">Total</para> </blocktable> </pto_header>

<blocktable colwidths="30.0,70.0,210.0,75.0,75.0,75.0" rowheights="0.8cm" repeatrows="1" style="asimo_table15"> <para style="terp_tblheader_General_Centre" fontsize="10.8" fontname="Times-Roman">POS</para>
<para style="terp_tblheader_Details_Centre" fontsize="10.8" fontname="Times-Roman">Item</para>
<para style="terp_tblheader_Details_Centre" fontsize="10.8" fontname="Times-Roman">Description</para>
<para style="terp_tblheader_Details_Centre" fontsize="10.8" fontname="Times-Roman">Quantity</para> <para style="terp_tblheader_Details_Centre" fontsize="10.8" fontname="Times-Roman">Price</para> <para style="terp_tblheader_Details_Centre" fontsize="10.8" fontname="Times-Roman">Total</para> </blocktable> <section> <para style="terp_default_1">[[repeatIn(o.order_line,'line')]]</para> <blocktable colwidths="30.0,70.0,210.0,75.0,75.0,75.0" style="asimo_table16"> <para style="P1" leftindent="0.0" bulletindent="1" fontsize="9"> <bullet><seq id="L1"/></bullet>. </para>

<para style="terp_default_9" fontsize="10.8" fontname="Times-Roman">[[ format(line.product_id.default_code) ]] </para>
<para style="terp_default_9" fontsize="10.8" fontname="Times-Roman">[[ format(line.name) ]] </para>

<para style="terp_tblheader_Details_Centre" fontsize="10.8" fontname="Times-Roman">[[ formatLang(line.product_uos and line.product_uos_qty or line.product_uom_qty) ]][[ line.product_uos and line.product_uos.name or line.product_uom.name ]]</para> <para style="terp_default_Right_9" fontsize="10.8" fontname="Times-Roman">[[ formatLang(line.price_unit , digits=get_digits(dp='Product Price'))]]</para>
<para style="terp_default_Right_9" fontsize="10.8" fontname="Times-Roman">[[ formatLang(line.price_subtotal, digits=get_digits(dp='Account')) ]] </para> </blocktable> </section>

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 8/25/13, 3:43 AM
Seen: 939 times
Last updated: 3/16/15, 8:10 AM