Browse Source

Add template utf8_header.

Almost any XML must start with this. Let's make it easier.
pull/295/head
Jairo Llopis 9 years ago
committed by ernesto
parent
commit
c7ff1bf38b
  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": [
"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