I have to take the count of number of item in my invoice_line in my invoice
<section>
<para>[[repeatIn(o.move_lines,'line')]]</para>--------------->here I am creating the object
<blockTable>
<tr>
<td>
<para style="terp_tblheader_General_Centre1">[[ reduce(lambda x, obj: x+obj.line , list , 0 ) ]] </para>-------------------->expression to return the number of line in my invoice
</td><t/r></blocktable></section>
so my desired output should be like this
| location | code | product | qty
House1 10 ipad 1
House2 25 iphone 2
----------------------------
total 3 ------------------------>For this how to use lambda function..In RML report