Odoo Help


This community 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.


how to add series number for Sales order line?

Hamza Allouh
on 5/11/13, 12:01 PM 1,019 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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