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 add dynamic empty rows in table with RML code?

By
Amit Patel
on 11/26/13, 3:00 PM 1,677 views

How can i add empty blank rows in purchase report? and dont know if blank_line is executing perfectly. i followed this link -forum.openerp.com/forum/topic8508.html' code:

<section>
  <para style="terp_default_8">[[ repeatIn(o.order_line,'line') ]][[line_no() ]]</para>
    <blockTable colWidths="20.0,100.0,150.0,80.0,50.0,20.0,60.0,50.0" style="Table_Order_Pur_line_Content">
      <tr>[[ blank_line(10) ]]<!--[[ setTag('para','para') ]] error-->
      <td>
            <para style="terp_default_9"> </para>
          </td>
          <td>
            <para style="terp_default_9">[[ ', '.join(map(lambda x: x.name, line.taxes_id)) ]]</para>
          </td>
          <td>
            <para style="terp_default_9">[[line.name]]</para>
          </td>
          <td>
             <para style="terp_default_Right_9">[[ formatLang(line.product_qty ) ]]</para>
           </td>
          <td>
            <para style="terp_default_Right_9">[[ formatLang(line.price_unit,digits=get_digits(dp='Product Price') ) ]]</para>
           </td>
             <td>
                <para style="terp_default_Right_9"> </para>
              </td>
         <td>
                <para style="terp_default_Right_9"> </para>
              </td>
         <td>
                    <para style="terp_default_Right_9">[[ formatLang(line.price_subtotal,digits=get_digits(dp='Account'), currency_obj=o.pricelist_id.currency_id ) ]] </para>
            </td>
    </tr>
</blockTable>

0

Omal Bastin

--Omal Bastin--
1146
| 6 6 8
Kochi, Kerala, India
--Omal Bastin--

Swiming deep into openERP/ODOO

Omal Bastin
On 11/27/13, 1:06 AM

Why cant you add the total in footer?

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: 11/26/13, 3:00 PM
Seen: 1677 times
Last updated: 3/16/15, 8:10 AM