Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4379 Vistas

Hi everybody,

I have a problem with a reparIn. I would like to create a table, two columns, with one field on the left and an repeatIn of another field on the right. The problem is with my repeatIn, my field on the left is printed as many times as the repatIn (not just one time)

My code:

  <blockTable colWidths="269.0,260.0" style="Table2">
  <tr>
    <td>
      <para style="P5">[[ o.description_Quotation or removeParentNode('para') ]]</para>
    </td>
    <td> 
       <para style="terp_default_9">[[ repeatIn(o.order_line,'order_line') ]]</para>     
      <image alignment="CENTER" height="60.0" width="60.0" >  [[ order_line.product_id.image  or removeParentNode('para')]]</image>
    </td>
  </tr>
</blockTable>

Someone know why?

Thank you a lot

Selverine

Avatar
Descartar
Mejor respuesta

Dear Selverine,

you can try:

<blockTable colWidths="269.0,260.0" style="Table2">
  <tr>
    <td>

<section>

<para style="P5">[[ o.description_Quotation or removeParentNode('para') ]]</para>

</section>

</td> <td>
<section> <para style="terp_default_9">[[ repeatIn(o.order_line,'order_line') ]]</para> </section>
      <image alignment="CENTER" height="60.0" width="60.0" >  [[ order_line.product_id.image  or removeParentNode('para')]]</image>
    </td>
  </tr>
</blockTable>
Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
mar 15
6893
1
mar 15
5657
4
dic 23
11823
8
may 18
8446
1
mar 18
4480