Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
7828 มุมมอง

Hi,

   I have created a student record module in that i need to print the mark list of many student by selecting the checkbox in the tree view such that it have to print everyone's mark list. But its printing only one mark list how to do it exactly please anyone suggest some answers.

                                                                                                        Thanks in advance 

อวตาร
ละทิ้ง

Hello Umashankar, May I know please which report type you are using ?

ผู้เขียน

I am using Qweb report

คำตอบที่ดีที่สุด

Hi, you can take as an example the sale order, in /sale/views/report_saleorder.xml

you can find :


<template id="report_saleorder">
<t t-call="report.html_container">
<t t-foreach="doc_ids" t-as="doc_id">
<t t-raw="translate_doc(doc_id, doc_model, 'partner_id.lang', 'sale.report_saleorder_document')"/>
</t>
</t>
</template>

อวตาร
ละทิ้ง
ผู้เขียน

I have tried that but failed.....i cant able to access the magic variable without the osv.Abstractmodel.......how to overcome this.....

คำตอบที่ดีที่สุด

Interesting, 

but is there a way to generate 2 reports at the same time? For example I would like to geerate the pdf of the order and of the invoice at the same time, without go to the print menu twice. 

อวตาร
ละทิ้ง