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?
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
mars 15
|
6597 | ||
|
0
mars 15
|
4534 | ||
|
2
mars 15
|
7142 | ||
|
2
juin 25
|
1886 | ||
|
4
mai 24
|
6017 |