Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


How to print report in landscape mode?

on 4/22/13, 3:24 PM 2,604 views

How to print report in landscape mode? Any help will be highly appreciated..

What type of report?

Francesco OpenCode
on 4/22/13, 3:32 PM


| 4 4 8
Ahmedabad, India

Odoo Expert

On 4/23/13, 2:31 AM

To print report in landscape mode, you need to create .sxw file which contains the format of your report. Sxw provides the format type of report that means you can choose type Portrait or Landscape.Here is the example of it

image description

After that you can convert .sxw file in .rml file, then it will generate report in landscape mode.

Thanks a lot keyur

on 4/23/13, 3:57 AM

I tried this but its still printing report in portrait mode

on 5/5/13, 3:30 PM

Anas Taji

--Anas Taji--
| 6 7 8
Amman, Jordan
--Anas Taji--

Skype: anas.taji-sw

Email: anas.taji@smartway-jo.com

Anas Taji
On 4/22/13, 11:17 PM

You need to create a new report file (.sxw + .rml) and add checkbox inside the report wizard to allow the user to choose..%

not getting "add checkbox inside report wizard". When this wizard will open?

on 5/5/13, 3:31 PM

If you aim to create a landscape version from a portrait report (so the user can choose in which mode to print) you need to open a wizard once the user fired the report. This wizard will contain that check box labeled 'Landscape', and you can programmatically rely on it. Have a look at Accounting->Reports->Legal Reports->Accounting Reports->General Ledger for example.

Smart Way LLC, Anas Taji
on 5/5/13, 4:12 PM

Thanks Anas

on 5/5/13, 4:27 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 4/22/13, 3:24 PM
Seen: 2604 times
Last updated: 3/16/15, 8:10 AM