mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG][13.0] report_xml: Migration to 13.0
This commit is contained in:
committed by
Enric Tobella
parent
e2869482c9
commit
9df5049644
@@ -1,19 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<template id="demo_report_xml_view">
|
||||
<root>
|
||||
<user t-foreach="docs" t-as="doc">
|
||||
<name t-esc="doc.name"/>
|
||||
<vat t-esc="doc.vat"/>
|
||||
</user>
|
||||
</root>
|
||||
</template>
|
||||
|
||||
<report id="demo_xml_report"
|
||||
name="report_xml.demo_report_xml_view"
|
||||
string="Demo xml report"
|
||||
report_type="qweb-xml"
|
||||
print_report_name="'Demo xml report'"
|
||||
file="report_xml.xml"
|
||||
model="res.company"/>
|
||||
<report
|
||||
id="demo_xml_report"
|
||||
name="report_xml.demo_report_xml_view"
|
||||
string="Demo xml report"
|
||||
report_type="qweb-xml"
|
||||
print_report_name="'Demo xml report'"
|
||||
model="res.company"
|
||||
/>
|
||||
<!--
|
||||
In case of demo data next definition will not work. So it just example
|
||||
how it should look. If report is a part of demo data you will need
|
||||
add file to report instance via `post_install_hook`
|
||||
-->
|
||||
<record id="demo_xml_report" model="ir.actions.report">
|
||||
<field name="xsd_schema" type="base64" file="report_xml/demo/demo_report.xsd" />
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user