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

Hello,

I create two wizards.

One for launching a report, the second to display a warning modal dialog.

You can find my code in the folowing link.

https://etherpad.fr/p/odoohelp

 

When Odoo executes line 76 it tries to open the report but not the wizard then crashed?

Any help?

Regards.


الصورة الرمزية
إهمال
أفضل إجابة

Hello,

from get_report_values() method you can not return any view like tree,form
for showing warning(for warning wizard) you need do your code into    your  get_report(self): method.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أكتوبر 24
7779
2
يوليو 24
2679
1
يونيو 24
5141
1
أكتوبر 23
10849
1
أكتوبر 23
98