You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.0 KiB
30 lines
1.0 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<openerp>
|
|
<data>
|
|
<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="report.paperformat_euro"
|
|
/>
|
|
<record id="demo_report" model="ir.actions.report.xml">
|
|
<field name="pdf_watermark_expression">docs[:1].company_id.logo</field>
|
|
</record>
|
|
<template id="demo_report_view">
|
|
<t t-call="report.html_container">
|
|
<t t-call="report.external_layout">
|
|
<div class="page">
|
|
<ul>
|
|
<li t-foreach="docs" t-as="doc">
|
|
<t t-esc="doc.name" />
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</t>
|
|
</t>
|
|
</template>
|
|
</data>
|
|
</openerp>
|