<report
id="report_receipt"
string="Receipt Report"
model="cont"
report_type="qweb-pdf"
file="contract.receipt_report"
name="contract.receipt_report"
print_report_name = "(object.name)"
/>
---------------------------------------------------------------
<template id="receipt_report">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="doc">
<t t-call="contract.receipt_reporttt" />
</t>
</t>
</template>
-------------------------------------------------------------------
<record id="reciept_report_view" model="ir.ui.view">
<field name="name">recipt Report</field>
<field name="model">receipt.wizard</field>
<field name="arch" type="xml">
<form>
<group col="4">
<field name="date_receipt_from"/>
</group>
<footer>
<button name="check_report" string="Export PDF" type="object" default_focus="1" class="oe_highlight" />
<button string="Cancel" class="oe_link" special="cancel" />
</footer>
</form>
</field>
</record>
-----------------------------------------------------------------------
<record id="action_recipt_wizard" model="ir.actions.act_window">
<field name="name">Generate reciept Report</field>
<field name="res_model">receipt.wizard</field>
<field name="type">ir.actions.act_window</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="view_id" ref="reciept_report_view"/>
<field name="target">new</field>
</record>
How start qweb report in the wizard in object form?
I don't want the report wizard to run from the button.
QWEB Reporting:
1 - https://goo.gl/tg2Zyp
2 - https://goo.gl/KZEo8X