Browse Source

Add template utf8_header.

Almost any XML must start with this. Let's make it easier.
pull/14/head
Jairo Llopis 10 years ago
parent
commit
5ac29774ed
  1. 3
      report_xml/__openerp__.py
  2. 13
      report_xml/views/report_xml_templates.xml

3
report_xml/__openerp__.py

@ -29,4 +29,7 @@
"depends": [ "depends": [
"report", "report",
], ],
"data": [
"views/report_xml_templates.xml",
]
} }

13
report_xml/views/report_xml_templates.xml

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<template id="utf8_header">
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
<grupos t-attf-xmlns="http://www.fundaciontripartita.es/schemas">
<t t-raw="0"/>
</grupos>
</template>
</openerp>
</data>
Loading…
Cancel
Save