I want to replicate the Table header names per page in my Sales PDF.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Apskaita
- Atsarga
- PoS
- Projektas
- MRP
This question has been flagged
For this use case it is important to notice that studio is necessary.
Within the xml code in the sale.report_saleorder_document there is a style that prevents the table to repeat the header through all document.
This is how it shows the second page of a document if the style is set.
For this to be changed you can create an Xpath for this style to be removed. It is important to note that it is not recommended to alter the original view of a document, only the Studio created view.
Then click on the Report menu:
and enter sale.report_saleorder_document report
After this, click on the "Edit Sources" to open the XML editor
After this, in the xpath created by Studio copy the following xpath
<data>
<xpath expr="//table/thead" position="attributes">
<attribute name="style"/>
</xpath>
</data>
With this little fix, your documents should look like this from the second page:
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registracija| Related Posts | Replies | Rodiniai | Veikla | |
|---|---|---|---|---|
|
|
0
gruod. 25
|
18 | ||
|
|
1
lapkr. 25
|
375 | ||
|
|
1
lapkr. 25
|
376 | ||
|
|
2
spal. 25
|
33859 | ||
|
|
2
spal. 25
|
1014 |