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
|
7232 | |||
|
0
3月 15
|
5091 | |||
|
2
3月 15
|
7865 | |||
|
|
2
6月 25
|
3341 | ||
|
4
5月 24
|
7012 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.