Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4821 มุมมอง

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?

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 15
6705
0
มี.ค. 15
4622
2
มี.ค. 15
7250
2
มิ.ย. 25
2142
4
พ.ค. 24
6153