コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
9603 ビュー

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

アバター
破棄
著作者

@shameem its not wokring even after delete

著作者

Please anybody give me an idea for this issue

最善の回答
  • Go to Settings -- >  Technical  --> Reports --> Paper Format.

  • Delete "CNY LS Paper Format"

  • Upgrade your Module

アバター
破棄
関連投稿 返信 ビュー 活動
1
6月 19
5696
1
4月 25
1356
2
3月 25
1549
4
11月 24
7231
1
3月 24
2152