콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4876 화면

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
6766
0
3월 15
4689
2
3월 15
7348
2
6월 25
2256
4
5월 24
6223