Skip to Content
मेन्यू
This question has been flagged
3 Replies
5532 Views

Hello guys :D

After a lot of searchs, i couldnt find a solution how to print a report twice per page.

I have found the argument --copies of wkhtmltopdf or duplicating the template.

Can anyone help me find a solution please

Best regards.

Avatar
Discard
Best Answer

a lazy approach would be to put twice <div class="page"> tag on your report template. this way you'll have double content , one header, footer.

Avatar
Discard
Best Answer

try these code on template

put one more doc_id in  foreach loop like the below example

<template id="invoice_sale_report">

<t t-call="report.html_container">
<t t-foreach="[doc_ids,doc_ids]" t-as="doc_id">
<t t-raw="translate_doc(doc_id, doc_model, 'partner_id.lang','report.sale_invoice')" />
</t>
</t>
</template>
Avatar
Discard
Author

unfortunately it doesnt work :/

Related Posts Replies Views Activity
0
सित॰ 19
3837
2
अग॰ 25
2217
1
जुल॰ 25
754
1
अग॰ 25
1150
0
मई 25
1260