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

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
6902
0
มี.ค. 15
4800
2
มี.ค. 15
7523
2
มิ.ย. 25
2637
4
พ.ค. 24
6543