Odoo Help


how to add series number for Sales order line?

Hamza Allouh
on 5/11/13, 12:01 PM 1,333 views

Hi all

I want to add series number for sales order lines in view and report How i can do that?

Sayed Anisul Hoque
On 8/31/15, 2:22 AM

You can use as below codes:

<tr t-foreach="o.order_line" t-as="l">


<span t-esc="str(l_index+1)"/>



I think this code fits for report. What is the code for view case, and where to put it?

Tarek Mohamed Ibrahim
on 8/31/15, 3:44 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/11/13, 12:01 PM
Seen: 1333 times
Last updated: 8/31/15, 3:02 AM