Hii community,i'm new in odoo and i was trying to generate a simple report, i don't get any error, but when i press print report button from actions, not work
this is my model:
pdf_module
class pdf_temp(models.Model):
_name = 'pdf_module.pdf_temp'
_description = 'temp'
name = fields.Char(string="name")
XML:
<
report
string='Print Report'
model='pdf_module.pdf_temp'
report_type='qweb-pdf'
name='pdf_module.report_pdf_report'
/ >
< template id="report_pdf_report">
< t-call="report.html_container">
< t-call="report.external_layout">
< div class="page">
< p >This is a report< / p >
< / div >
< / t >
< / t >
< / template>
can you give me any recommendation?
Creating Reports in QWEB Odoo: https://learnopenerp.blogspot.com/2020/08/create-custom-report-in-odoo-using-qweb.html
thanks but the same thing happens, the button does nothing