Hi all
I want to add series number for sales order lines in view and report How i can do that?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi all
I want to add series number for sales order lines in view and report How i can do that?
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?
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Mar 15
|
5853 | ||
|
0
Mar 15
|
3893 | ||
|
2
Mar 15
|
6185 | ||
|
4
May 24
|
4429 | ||
|
2
Dec 23
|
523 |