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 repeate column in RML report

By
Jagdish Panchal
on 12/7/13, 12:18 AM 1,443 views

Hi

How to repeat column in rml report, i want repeat column i have try bellow code but in not working, tyr for hr.employee object, any reply or solution ????

<blockTable style="Table1" colWidths="68.0,22.0" >
    <section>
        <para>[[ repeatIn(o.salarypoint_log_ids, line) ]]</para>
        <tr>
            <td>
                <para style="default_bold">[[line.points]]</para>
            </td>
            <td>
                <para style="default_right">[[ line.units]]</para>
            </td>
        </tr>
    </section> 
</blockTable>

<section><blocktable style="Table1" colwidths="68.0,22.0"> <para>[[ repeatIn(o.salarypoint_log_ids, line) ]]</para> <para style="default_bold">[[line.points]]</para> <para style="default_right">[[ line.units]]</para> </blocktable> </section>

Muthumani
on 12/7/13, 2:15 AM

<blockTable style="Table1" colWidths="64.0,460.0" > <section> <para>[repeatIn(o.salary_ids,'line')]]</para> <tr> <td> <para style="default_bold">[[ line.points or '' ]]</para> </td> <td> <para style="default_right">[[ line.units]]</para> </td> </tr> </section> </blockTable>

Jagdish Panchal
on 12/7/13, 2:29 AM

This update code but still having problem

Jagdish Panchal
on 12/7/13, 2:32 AM

@Gopakumar I have try this but not working it give error

Jagdish Panchal
on 12/10/13, 3:58 AM

@Jack I didnt added the answer, I just edited your question so that others can easily understand.

Gopakumar N G
on 12/10/13, 4:33 AM

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: 12/7/13, 12:18 AM
Seen: 1443 times
Last updated: 3/16/15, 8:10 AM