Hi,
In a Custom App I want to print multiple reports of selected records from the treeview but if give this error "Bad request".
When i tried this on officiel module ex Sales it work in printing multiple reports(download in pdf format)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
In a Custom App I want to print multiple reports of selected records from the treeview but if give this error "Bad request".
When i tried this on officiel module ex Sales it work in printing multiple reports(download in pdf format)
Hi momumen,
create a report
<report
string="Request for Quotation"
id="report_purchase_quotation"
model="purchase.order"
report_type="qweb-pdf"
name="purchase.report_purchasequotation"
file="purchase.report_purchasequotation"
/>
when we creating a template
<template id="report_purchasequotation">
<t t-call="report.html_container">
<t t-foreach="docs" t-as="o">
<t t-call="purchase.report_purchasequotation_document" t-lang="o.partner_id.lang"/>
</t>
</t>
</template>
template id = report_purchasequotation its mention in the report's name and file.
"report_purchasequotation_document" - In this name, we create the exact qweb report template. then I think it will solve your issue. please check these with your custom modules.
Thank you
Hello,
you can use this module to print separate PDF for each record.
\https://apps.odoo.com/apps/modules/11.0/acs_report_download/
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up