Skip to Content
Menu
This question has been flagged
1 Reply
8452 Views

I'm trying to develop a report in A4 landscape but it is not working in Landscape,

Code :

<record id="paperformat_cny_LS" model="report.paperformat">

<field name="name">CNY LS Paper Format</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">Landscape</field>

<field name="margin_top">0</field>

<field name="margin_bottom">0</field>

<field name="margin_left">0</field>

<field name="margin_right">0</field>

<field name="header_line" eval="False" />

<field name="header_spacing">0</field>

<field name="dpi">90</field>

</record>


<report

id="report_tablet_LS"

string="Print tablet label Landscape"

model="event.event.ticket"

report_type="qweb-pdf"

file="skit.report_ticket_design"

name="skit.report_ticket_design"

paperformat="skit.paperformat_cny_LS"

/>


Here report opens in A4 portrait only not in Landscape

Avatar
Discard
Author

@shameem its not wokring even after delete

Author

Please anybody give me an idea for this issue

Best Answer
  • Go to Settings -- >  Technical  --> Reports --> Paper Format.

  • Delete "CNY LS Paper Format"

  • Upgrade your Module

Avatar
Discard
Related Posts Replies Views Activity
1
Jun 19
4619
4
Nov 24
5233
1
Mar 24
393
3
Sep 23
22641
0
Feb 24
1715