I want to print labels from odoo. For that I created a custom paper format and finding a way to link it to my label report. My label report is a pdf report. (When I create the report I can view it in the default paper format.)
this is the code for custom paper format
<openerp>
<data>
<record id="mymodule_label" model="report.paperformat">
<field name="name">Item Label</field>
<field name="default" eval="True"/>
<field name="format">custom</field>
<field name="page_height">50</field>
<field name="page_width">100</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>
</data>
</openerp>
I repeat my problem is how to link this paper format with my pdf report