콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
5813 화면

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.

아바타
취소
베스트 답변

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.

아바타
취소
베스트 답변

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>
아바타
취소
작성자

unfortunately it doesnt work :/

관련 게시물 답글 화면 활동
0
9월 19
4162
2
8월 25
3149
1
7월 25
1349
1
8월 25
1152
0
5월 25
1744