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?
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
3月 15
|
6595 | ||
|
0
3月 15
|
4533 | ||
|
2
3月 15
|
7141 | ||
|
2
6月 25
|
1878 | ||
|
4
5月 24
|
6009 |