How to import new paper format with a data file (in report.paperformat)?
thanks
ref (no mention of the paper format) : http://odoo-80.readthedocs.org/en/latest/reference/data.html
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How to import new paper format with a data file (in report.paperformat)?
thanks
ref (no mention of the paper format) : http://odoo-80.readthedocs.org/en/latest/reference/data.html
from ../addons/report/data/report_paperformat.xml
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="paperformat_euro" model="report.paperformat">
<field name="name">European A4</field>
<field name="default" eval="True" />
<field name="format">A4</field>
<field name="page_height">0</field>
<field name="page_width">0</field>
<field name="orientation">Portrait</field>
<field name="margin_top">40</field>
<field name="margin_bottom">23</field>
<field name="margin_left">7</field>
<field name="margin_right">7</field>
<field name="header_line" eval="False" />
<field name="header_spacing">35</field>
<field name="dpi">90</field>
</record>
<record id="paperformat_us" model="report.paperformat">
<field name="name">US Letter</field>
<field name="default" eval="True" />
<field name="format">Letter</field>
<field name="page_height">0</field>
<field name="page_width">0</field>
<field name="orientation">Portrait</field>
<field name="margin_top">40</field>
<field name="margin_bottom">20</field>
<field name="margin_left">7</field>
<field name="margin_right">7</field>
<field name="header_line" eval="False" />
<field name="header_spacing">35</field>
<field name="dpi">90</field>
</record>
</data>
</openerp>