Skip to Content
Menú
This question has been flagged
1 Respondre
9499 Vistes

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
Descartar
Autor

@shameem its not wokring even after delete

Autor

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
Descartar
Related Posts Respostes Vistes Activitat
1
de juny 19
5619
1
d’abr. 25
1189
2
de març 25
1323
4
de nov. 24
7047
1
de març 24
1962