I would like to make the cycle for printing elements the exact number of times. Something like that:
<t t-for="o.label_qty" >
...
</t>
Where o.label_qtyis an integer.
But I can only use a loop t-foreachin qweb:
<t t-foreach="o.pack_operation_ids" t-as="l" >
...
</t>
Is there any way to do this?
If I don't think the only solution is to create a dummy list with items o.label_qtyand write it to foreach.
source
share