Custom paper formate for Qweb report

1).Create .xml file in your custome module(ep_print)

paperformat.xml (xml file)

<?xml version="1.0" encoding="utf-8"?>
<record id="paperformat_frenchcheck" model="report.paperformat">
 <field name="name">French Bank Check</field>
 <field name="default" eval="True"/>
 <field name="format">custom</field>
 <field name="page_height">80</field>
 <field name="page_width">175</field>
 <field name="orientation">Portrait</field>
 <field name="margin_top">3</field>
 <field name="margin_bottom">3</field>
 <field name="margin_left">3</field>
 <field name="margin_right">3</field>
 <field name="header_line" eval="False"/>
 <field name="header_spacing">3</field>
 <field name="dpi">80</field>
<record id="sale.report_sale_order" model="">
 <field name="paperformat_id" ref="ep_print.paperformat_frenchcheck" />



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s