Odoo Help

Welcome!

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.

0

how to add series number for Sales order line?

By
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?

0
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">

<td>

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

</td>

</tr>

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)

Stats

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