Friends!!
I am creating a new report in my OpenERP:
Python:
def get_employee_lines(self, context=None): print ('--------------------MOMO----------------------') res_list=[] payslip_line = self.pool.get('hr.payslip') print payslip_line obj_ids = payslip_line.search(self.cr, self.uid, []) print obj_ids for res in payslip_line.read(self.cr, self.uid, obj_ids, ['id', 'employee_id'], context=False): print res['employee_id'][1] obj = {} obj['name'] = res['employee_id'][1] res_list.append(obj) return res_list
RML:
<tr>
<td>
<para style="P9">NOM EMPLOYÉ</para>
</td>
<td>
<para style="P7">[[ repeatIn(get_employee_lines(), 'o') ]]</para>
<para style="P7">[[ o['name'] ]]</para>
</td>
<td>
<para style="P7">
<font color="white"> </font>
</para>
</td>
</tr>
I want to get my result not vertically, i want to get them side by side on the horizontal:
Please help..