Odoo Help

0

How to realise a page break or specify number of columns in rml for openerp

By
Drees Far
on 9/8/15, 9:49 AM 610 views

Hi,

Please, i have a question for you.

Who can help me please.

I need to know how to ralise in rml for any report a page break or how to specify the number of columns in RML.

Please any suggestion!!

Regards

0

Drees Far

--Drees Far--
1126
| 5 2 6
Tunis, Tunisia
--Drees Far--
Drees Far
On 9/9/15, 9:12 AM

Hello all my friends!!!!

Finally i have found  the right answer :)

Here is the RML code & Enjoy it:

<blockTable colwidths="150,100,100,100,100,100" style="Table1">

<tr>

<td>

<para style="P8">NOM EMPLOYÉ</para>

</td>

<td>

<para style="P8">MATRICULE</para>

</td>

<td>

<para style="P7">[[ repeatIn(repeatIn(get_employee_lines(example.company_id,example.date_start,example.date_end), 'p', 'td'),'o') ]]</para>

<para style="P7">[[ repeatIn(o['p'], 'line', 'td') ]]</para>

<para style="P7">[[ line['name'] ]]</para>

<para style="P7">[[ line['matricule'] ]]</para>

</td>

</tr>

</blockTable>

Best Regards.

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 9/8/15, 9:49 AM
Seen: 610 times
Last updated: 9/9/15, 9:13 AM