Odoo Help

4

How to print report in landscape mode?

By
Vardan
on 4/22/13, 3:24 PM 3,164 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
3

Keyur

--Keyur--
1185
| 4 4 8
Ahmedabad, India
--Keyur--

Odoo Expert

Keyur
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

Vardan
on 4/23/13, 3:57 AM

I tried this but its still printing report in portrait mode

Vardan
on 5/5/13, 3:30 PM
4

Anas Taji

--Anas Taji--
2203
| 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?

Vardan
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 Business Solutions, Anas Taji
on 5/5/13, 4:12 PM

Thanks Anas

Vardan
on 5/5/13, 4:27 PM

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

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