Hello,
I would like to print a one2many fields separated by comma, but always I have a comma more.
So how can I use variables in a Qweb loop to avoid this problem?
this is my code :
<span>(
</span>
<span t-foreach="o.hijos_ids" t-as="i">
<span t-field="i.number"/>
<span>,</span>
</span>
<span>)</span>
this is the result:
(nbr1,nbr2,)
Thank you
Best regards