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?
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký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 |