Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4744 Lượt xem

Hi all

I want to add series number for sales order lines in view and report How i can do that?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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>

Ảnh đại diện
Huỷ bỏ

I think this code fits for report. What is the code for view case, and where to put it?

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
6650
0
thg 3 15
4564
2
thg 3 15
7201
2
thg 6 25
1976
4
thg 5 24
6064