Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

I'm trying to print 2 reports via a wizard, where one should be landscape and the other should be portrait. The user has the option to select which report to print each time.


The issue is that although I have set up two paper formats for each report, Odoo only prints either landscape or portrait!



What am I doing wrong?



Code:

paperformats.xml





report_actions.xml





report_wizard.py




company.py




Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 24
19
3
thg 5 24
3245
1
thg 8 17
6863
0
thg 1 17
3155
0
thg 3 16
4953