تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
892 أدوات العرض

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




الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مايو 24
19
3
مايو 24
3228
1
أغسطس 17
6845
0
يناير 17
3141
0
مارس 16
4901