mirror of
https://gitlab.com/flectra-community/reporting-engine.git
synced 2024-12-23 21:01:49 +00:00
29 lines
919 B
XML
29 lines
919 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<flectra>
|
|
<report
|
|
id="demo_report"
|
|
string="Demo report"
|
|
model="res.users"
|
|
report_type="qweb-pdf"
|
|
name="report_qweb_pdf_watermark.demo_report_view"
|
|
file="report_qweb_pdf_watermark.demo_report_view"
|
|
paperformat="base.paperformat_euro"
|
|
/>
|
|
<record id="demo_report" model="ir.actions.report">
|
|
<field name="pdf_watermark_expression">docs[:1].company_id.logo</field>
|
|
</record>
|
|
<template id="demo_report_view">
|
|
<t t-call="web.html_container">
|
|
<t t-call="web.external_layout">
|
|
<div class="page">
|
|
<ul>
|
|
<li t-foreach="docs" t-as="doc">
|
|
<t t-esc="doc.name" />
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</t>
|
|
</t>
|
|
</template>
|
|
</flectra>
|