تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4705 أدوات العرض

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
مارس 15
6599
0
مارس 15
4536
2
مارس 15
7147
2
يونيو 25
1897
4
مايو 24
6025