So I have made some of my own customisation inside invoice print layout, only thing left is to add a SL number for the orderline since default one does not have it. How can I iterate a count variable for the same inside this for loop of the template.
<t t-foreach="o.invoice_line_ids>