Vertical table creation

Hi,
I am creating a report in tryton where I need to loop the one2many field for exactly 5 records and display the data in vertical table. For example -

Date | date1 | date2 | date3
Field1 | value11 | value12 | value13
Field2 | value21 | value22 | value23
Field3 | value31 | value32 | value33
Field4 | value41 | value42 | value43

How to achieve it ?

What do you mean by report? Is it a view in the client or a OpenDocument with relatorio?

Hi,
I am creating a OpenDocument with relatorio in tryton where I need to loop the one2many field for exactly 5 records and display the data in vertical table. For example -

Date | date1 | date2 | date3
Field1 | value11 | value12 | value13
Field2 | value21 | value22 | value23
Field3 | value31 | value32 | value33
Field4 | value41 | value42 | value43

How to achieve it ?

In relatorio you can loop on columns, see the example columns.odt.