Odoo Help

0

how to add series number for Sales order line?

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

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.

Register

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)

Stats

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