If anyone had the same problem, please give me the solution. It doesn't work line breaks.
11
All rows in the table are moved to page 2.
I have consulted the answers on the same topic, it doesn't seem to work for me
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
If anyone had the same problem, please give me the solution. It doesn't work line breaks.
11
All rows in the table are moved to page 2.
I have consulted the answers on the same topic, it doesn't seem to work for me
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
3
sty 24
|
14126 | ||
|
1
kwi 25
|
1188 | ||
|
2
mar 25
|
1321 | ||
Translate month name in t-esc Qweb report
Rozwiązane
|
|
4
lis 24
|
7047 | |
|
1
mar 24
|
1959 |
<tbody>
<t t-set="counter" t-value="1"/>
<t t-set="total_product_unit" t-value="0"/>
<tr t-foreach="record.order_line" t-as="line">
<td class="text-dark text-center border border-dark">
<span t-esc="counter"/>
</td>
<td class="text-dark border border-dark">
<span t-field="line.product_id.name"/>
</td>
<td class="text-dark text-right border border-dark">
<span t-field="line.product_uom_qty"/>
<span t-field="line.product_id.uom_name"/>
</td>
<td class="text-dark text-right border border-dark">
<span t-field="line.price_unit" t-options="{"widget": "float", "precision": 0}"/>
</td>
<td class="text-dark text-right border border-dark bg-white" t-foreach="data_tax.keys()" t-as="tax_item">
<t t-if="data_tax[tax_item]['data'].get(line.id)">
<t t-esc="data_tax[tax_item]['data'][line.id]" t-options="{"widget": "float", "precision": 0}"/>
</t>
</td>
<t t-set="counter" t-value="counter + 1"/>
<t t-set="total_product_unit" t-value="total_product_unit + line.product_uom_qty"/>
<t t-if = "counter%10 == 0">
<p style="page-break-before:always;"> </p>
</t>
</tr>
</tbody>
Hi,
Please refer the below forum https://www.odoo.com/forum/help-1/help-on-adding-page-break-on-qweb-reports-where-to-put-the-tag-172051
Hope it helps