Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
4384 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
2
mar. 15
6894
1
mar. 15
5661
4
dec. 23
11823
8
maj 18
8446
1
mar. 18
4480